changeset 978:218149ea1a35

plugin XEP-0115: minor logs improvment
author Goffi <goffi@goffi.org>
date Mon, 07 Apr 2014 16:22:18 +0200
parents d2e612a45e76
children 8f8bdd31375a
files src/plugins/plugin_xep_0115.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/plugins/plugin_xep_0115.py	Thu Apr 03 14:56:16 2014 +0200
+++ b/src/plugins/plugin_xep_0115.py	Mon Apr 07 16:22:18 2014 +0200
@@ -145,7 +145,7 @@
 
         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