misc: replaced all "dummy" by the more conventional and readable "__" ("_" being used for gettext)
This commit is contained in:
parent
fa0179f87e
commit
7a9ee35cfc
1 changed files with 215 additions and 215 deletions
|
|
@ -87,7 +87,7 @@ class ProfileDelete(base.CommandBase):
|
|||
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 @@ class ProfileCreate(base.CommandBase):
|
|||
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
|
||||
|
|
|
|||
Loading…
Reference in a new issue