diff sat/plugins/plugin_xep_0115.py @ 2765:378188abe941

misc: replaced all "dummy" by the more conventional and readable "__" ("_" being used for gettext)
author Goffi <goffi@goffi.org>
date Fri, 11 Jan 2019 11:13:15 +0100
parents 56f94936df1e
children 003b8b4b56a7
line wrap: on
line diff
--- a/sat/plugins/plugin_xep_0115.py	Fri Jan 11 10:18:02 2019 +0100
+++ b/sat/plugins/plugin_xep_0115.py	Fri Jan 11 11:13:15 2019 +0100
@@ -170,7 +170,7 @@
                 % {"hash_method": c_hash, "jid": from_jid, "node": c_node}
             )
 
-        def cb(dummy):
+        def cb(__):
             computed_hash = self.host.memory.getEntityDatum(
                 from_jid, C.ENTITY_CAP_HASH, self.profile
             )