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
|
|
@ -488,7 +488,7 @@ class RoomGame(object):
|
|||
user_jid = self.host.getJidNStream(profile)[0]
|
||||
d = self.host.plugins["XEP-0045"].join(room_jid, user_jid.user, {}, profile)
|
||||
return d.addCallback(
|
||||
lambda dummy: self._createOrInvite(client, room_jid, other_players)
|
||||
lambda __: self._createOrInvite(client, room_jid, other_players)
|
||||
)
|
||||
|
||||
def userJoinedTrigger(self, room, user, profile):
|
||||
|
|
@ -520,7 +520,7 @@ class RoomGame(object):
|
|||
)
|
||||
return True
|
||||
other_players = self.invitations[room_jid][batch][1]
|
||||
(auth, nicks, dummy) = self._checkWaitAuth(room, other_players)
|
||||
(auth, nicks, __) = self._checkWaitAuth(room, other_players)
|
||||
if auth:
|
||||
del self.invitations[room_jid][batch]
|
||||
nicks.insert(0, profile_nick) # add the referee
|
||||
|
|
|
|||
Loading…
Reference in a new issue