Mercurial > libervia-backend
diff sat/plugins/plugin_xep_0231.py @ 2765:378188abe941
misc: replaced all "dummy" by the more conventional and readable "__" ("_" being used for gettext)
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 11 Jan 2019 11:13:15 +0100 |
parents | 56f94936df1e |
children | 003b8b4b56a7 |
line wrap: on
line diff
--- a/sat/plugins/plugin_xep_0231.py Fri Jan 11 10:18:02 2019 +0100 +++ b/sat/plugins/plugin_xep_0231.py Fri Jan 11 11:13:15 2019 +0100 @@ -161,7 +161,7 @@ # 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"""