diff sat_frontends/jp/cmd_roster.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 26edcf3a30eb
children 003b8b4b56a7
line wrap: on
line diff
--- a/sat_frontends/jp/cmd_roster.py	Fri Jan 11 10:18:02 2019 +0100
+++ b/sat_frontends/jp/cmd_roster.py	Fri Jan 11 11:13:15 2019 +0100
@@ -90,7 +90,7 @@
             print "Nothing to do - there's a from and/or to subscription(s) between profile [%s] and each of its contacts" % self.host.profile
         elif self.ask_confirmation(no_sub, no_from, no_to):
             for contact in no_sub + no_from + no_to:
-                self.host.bridge.delContact(contact, profile_key=self.host.profile, callback=lambda dummy: None, errback=lambda failure: None)
+                self.host.bridge.delContact(contact, profile_key=self.host.profile, callback=lambda __: None, errback=lambda failure: None)
         self.host.quit()