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
|
|
@ -723,7 +723,7 @@ class Jp(object):
|
|||
pass
|
||||
else:
|
||||
if start_session:
|
||||
self.bridge.profileStartSession(self.args.pwd, self.profile, lambda dummy: callback(), cant_start_session)
|
||||
self.bridge.profileStartSession(self.args.pwd, self.profile, lambda __: callback(), cant_start_session)
|
||||
self._auto_loop = True
|
||||
return
|
||||
elif not self.bridge.profileIsSessionStarted(self.profile):
|
||||
|
|
@ -739,7 +739,7 @@ class Jp(object):
|
|||
# a profile can be present without connect option (e.g. on profile creation/deletion)
|
||||
return
|
||||
elif self.args.connect is True: # if connection is asked, we connect the profile
|
||||
self.bridge.connect(self.profile, self.args.pwd, {}, lambda dummy: callback(), cant_connect)
|
||||
self.bridge.connect(self.profile, self.args.pwd, {}, lambda __: callback(), cant_connect)
|
||||
self._auto_loop = True
|
||||
return
|
||||
else:
|
||||
|
|
|
|||
Loading…
Reference in a new issue