plugin XEP-0115: minor logs improvment

This commit is contained in:
Goffi 2014-04-07 16:22:18 +02:00
commit e2e1bb50c2

View file

@ -145,7 +145,7 @@ class XEP_0115_handler(XMPPHandler):
if c_ver in self.host.memory.disco.hashes:
# we already know the hash, we update the jid entity
debug ("hash [%s] already in cache, updating entity" % c_ver)
debug ("hash [%(hash)s] already in cache, updating entity [%(jid)s]" % {'hash': c_ver, 'jid': from_jid.full()})
self.host.memory.updateEntityData(from_jid, C.ENTITY_CAP_HASH, c_ver, self.profile)
return