Mercurial > libervia-desktop-kivy
comparison cagou/core/profile_manager.py @ 284:ca4daced4638
misc: replaced "dummy" by "__"
author | Goffi <goffi@goffi.org> |
---|---|
date | Mon, 25 Mar 2019 07:11:09 +0100 |
parents | 1b835bcfa663 |
children | b2727877bad4 |
comparison
equal
deleted
inserted
replaced
283:c73a7cd36b54 | 284:ca4daced4638 |
---|---|
51 | 51 |
52 def onCreationSuccess(self, profile): | 52 def onCreationSuccess(self, profile): |
53 self.pm.profiles_screen.reload() | 53 self.pm.profiles_screen.reload() |
54 G.host.bridge.profileStartSession( | 54 G.host.bridge.profileStartSession( |
55 self.password.text, profile, | 55 self.password.text, profile, |
56 callback=lambda dummy: self._sessionStarted(profile), | 56 callback=lambda __: self._sessionStarted(profile), |
57 errback=self.onCreationFailure) | 57 errback=self.onCreationFailure) |
58 | 58 |
59 def _sessionStarted(self, profile): | 59 def _sessionStarted(self, profile): |
60 jid = self.jid.text.strip() | 60 jid = self.jid.text.strip() |
61 G.host.bridge.setParam("JabberID", jid, "Connection", -1, profile) | 61 G.host.bridge.setParam("JabberID", jid, "Connection", -1, profile) |