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
|
|
@ -130,7 +130,7 @@ class XEP_0071(object):
|
|||
):
|
||||
continue
|
||||
treat_d.addCallback(
|
||||
lambda dummy: self._s.convert(
|
||||
lambda __: self._s.convert(
|
||||
body_elt.toXml(), self.SYNTAX_XHTML_IM, safe=True
|
||||
)
|
||||
)
|
||||
|
|
@ -138,7 +138,7 @@ class XEP_0071(object):
|
|||
defers.append(treat_d)
|
||||
|
||||
d_list = defer.DeferredList(defers)
|
||||
d_list.addCallback(lambda dummy: data)
|
||||
d_list.addCallback(lambda __: data)
|
||||
return d_list
|
||||
|
||||
def _fill_body_text(self, text, data, lang):
|
||||
|
|
@ -193,7 +193,7 @@ class XEP_0071(object):
|
|||
else:
|
||||
exceptions.InternalError(u"xhtml or rich should be present at this point")
|
||||
d_list = defer.DeferredList(defers)
|
||||
d_list.addCallback(lambda dummy: data)
|
||||
d_list.addCallback(lambda __: data)
|
||||
return d_list
|
||||
|
||||
def messageReceivedTrigger(self, client, message, post_treat):
|
||||
|
|
|
|||
Loading…
Reference in a new issue