diff sat_frontends/jp/cmd_profile.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_profile.py	Fri Jan 11 10:18:02 2019 +0100
+++ b/sat_frontends/jp/cmd_profile.py	Fri Jan 11 11:13:15 2019 +0100
@@ -87,7 +87,7 @@
                 self.disp(_(u"Profile deletion cancelled"))
                 self.host.quit(2)
 
-        self.host.bridge.asyncDeleteProfile(self.args.profile, callback=lambda dummy: None)
+        self.host.bridge.asyncDeleteProfile(self.args.profile, callback=lambda __: None)
 
 
 class ProfileInfo(base.CommandBase):
@@ -153,7 +153,7 @@
         self.parser.add_argument('-C', '--component', type=base.unicode_decoder, default='',
                                  help=_(u'set to component import name (entry point) if this is a component'))
 
-    def _session_started(self, dummy):
+    def _session_started(self, __):
         if self.args.jid:
             self.host.bridge.setParam("JabberID", self.args.jid, "Connection", profile_key=self.args.profile)
         xmpp_pwd = self.args.password or self.args.xmpp_password