From e2e1bb50c210d03ef212b677fe4b52a5e41a23ce Mon Sep 17 00:00:00 2001 From: Goffi Date: Mon, 7 Apr 2014 16:22:18 +0200 Subject: [PATCH] plugin XEP-0115: minor logs improvment --- src/plugins/plugin_xep_0115.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/plugin_xep_0115.py b/src/plugins/plugin_xep_0115.py index 573327f7..10933768 100755 --- a/src/plugins/plugin_xep_0115.py +++ b/src/plugins/plugin_xep_0115.py @@ -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