diff sat/plugins/plugin_xep_0077.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 6c89cf856d28
children 003b8b4b56a7
line wrap: on
line diff
--- a/sat/plugins/plugin_xep_0077.py	Fri Jan 11 10:18:02 2019 +0100
+++ b/sat/plugins/plugin_xep_0077.py	Fri Jan 11 11:13:15 2019 +0100
@@ -252,7 +252,7 @@
         iq_elt = self.buildRegisterIQ(client.xmlstream, client.jid, new_password)
         d = iq_elt.send(client.jid.host)
         d.addCallback(
-            lambda dummy: self.host.memory.setParam(
+            lambda __: self.host.memory.setParam(
                 "Password", new_password, "Connection", profile_key=client.profile
             )
         )