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
|
|
@ -81,7 +81,7 @@ class RegisterAccount(object):
|
|||
|
||||
session_data["user"], host, resource = jid.parse(session_data["JabberID"])
|
||||
session_data["server"] = session_data[C.FORCE_SERVER_PARAM] or host
|
||||
session_id, dummy = self._sessions.newSession(session_data, profile=profile)
|
||||
session_id, __ = self._sessions.newSession(session_data, profile=profile)
|
||||
form_ui = xml_tools.XMLUI(
|
||||
"form",
|
||||
title=D_("Register new account"),
|
||||
|
|
@ -129,7 +129,7 @@ class RegisterAccount(object):
|
|||
|
||||
def _registerNewAccount(self, client, jid_, password, email, server):
|
||||
# FIXME: port is not set here
|
||||
def registeredCb(dummy):
|
||||
def registeredCb(__):
|
||||
xmlui = xml_tools.XMLUI(u"popup", title=D_(u"Confirmation"))
|
||||
xmlui.addText(D_("Registration successful."))
|
||||
return {"xmlui": xmlui.toXml()}
|
||||
|
|
|
|||
Loading…
Reference in a new issue