Mercurial > libervia-backend
diff sat_frontends/jp/base.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 | 92af49cde255 |
children | 003b8b4b56a7 |
line wrap: on
line diff
--- a/sat_frontends/jp/base.py Fri Jan 11 10:18:02 2019 +0100 +++ b/sat_frontends/jp/base.py Fri Jan 11 11:13:15 2019 +0100 @@ -723,7 +723,7 @@ 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 @@ # 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: