misc: replaced all "dummy" by the more conventional and readable "__" ("_" being used for gettext)

This commit is contained in:
Goffi 2019-01-11 11:13:15 +01:00
commit 7a9ee35cfc

View file

@ -161,7 +161,7 @@ class XEP_0231(object):
# so we use the deferred
d = self.requestData(client, jid.JID(message_elt["from"]), cid)
d.addCallback(partial(self._setImgEltSrc, img_elt=img_elt))
treat_d.addCallback(lambda dummy: d)
treat_d.addCallback(lambda __: d)
def onComponentRequest(self, iq_elt, client):
"""cache data is retrieve from common cache for components"""