misc: fix unnamed arguments in format strings
This commit is contained in:
parent
40935cbc5e
commit
24beb81688
5 changed files with 14 additions and 14 deletions
|
|
@ -87,7 +87,7 @@ class XEP_0033(object):
|
|||
if entity is None:
|
||||
return Failure(AbortSendMessage(_("XEP-0033 is being used but the server doesn't support it!")))
|
||||
if mess_data["to"] != entity:
|
||||
logging.warning(_("Stanzas using XEP-0033 should be addressed to %s, not %s!") % (entity, mess_data["to"]))
|
||||
logging.warning(_("Stanzas using XEP-0033 should be addressed to %(expected)s, not %(current)s!") % {'expected': entity, 'current': mess_data["to"]})
|
||||
logging.warning(_("TODO: addressing has be fixed by the backend... fix it in the frontend!"))
|
||||
mess_data["to"] = entity
|
||||
element = mess_data['xml'].addElement('addresses', NS_ADDRESS)
|
||||
|
|
|
|||
Loading…
Reference in a new issue