comparison sat_frontends/primitivus/profile_manager.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 56f94936df1e
children 003b8b4b56a7
comparison
equal deleted inserted replaced
2764:92af49cde255 2765:378188abe941
122 def newProfileCreated(self, profile): 122 def newProfileCreated(self, profile):
123 # new profile will be selected, and a selected profile assume the session is started 123 # new profile will be selected, and a selected profile assume the session is started
124 self.host.bridge.profileStartSession( 124 self.host.bridge.profileStartSession(
125 "", 125 "",
126 profile, 126 profile,
127 callback=lambda dummy: self.newProfileSessionStarted(profile), 127 callback=lambda __: self.newProfileSessionStarted(profile),
128 errback=self.profileCreationFailure, 128 errback=self.profileCreationFailure,
129 ) 129 )
130 130
131 def newProfileSessionStarted(self, profile): 131 def newProfileSessionStarted(self, profile):
132 self.host.removePopUp() 132 self.host.removePopUp()