Mercurial > libervia-backend
comparison sat/plugins/plugin_xep_0115.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 |
comparison
equal
deleted
inserted
replaced
2764:92af49cde255 | 2765:378188abe941 |
---|---|
168 u"Unknown hash method for entity capabilities: [%(hash_method)s] (entity: %(jid)s, node: %(node)s)" | 168 u"Unknown hash method for entity capabilities: [%(hash_method)s] (entity: %(jid)s, node: %(node)s)" |
169 ) | 169 ) |
170 % {"hash_method": c_hash, "jid": from_jid, "node": c_node} | 170 % {"hash_method": c_hash, "jid": from_jid, "node": c_node} |
171 ) | 171 ) |
172 | 172 |
173 def cb(dummy): | 173 def cb(__): |
174 computed_hash = self.host.memory.getEntityDatum( | 174 computed_hash = self.host.memory.getEntityDatum( |
175 from_jid, C.ENTITY_CAP_HASH, self.profile | 175 from_jid, C.ENTITY_CAP_HASH, self.profile |
176 ) | 176 ) |
177 if computed_hash != c_ver: | 177 if computed_hash != c_ver: |
178 log.warning( | 178 log.warning( |