Mercurial > libervia-backend
diff src/plugins/plugin_exp_parrot.py @ 1409:3265a2639182
massive (preventive) addition of 'u' (unicode) before the strings passed to logging functions
author | souliane <souliane@mailoo.org> |
---|---|
date | Thu, 16 Apr 2015 14:57:57 +0200 |
parents | 069ad98b360d |
children | 244a605623d6 |
line wrap: on
line diff
--- a/src/plugins/plugin_exp_parrot.py Thu Apr 16 13:31:14 2015 +0200 +++ b/src/plugins/plugin_exp_parrot.py Thu Apr 16 14:57:57 2015 +0200 @@ -118,7 +118,7 @@ _links = client.parrot_links = {} _links[source_jid.userhostJID()] = dest_jid - log.info("Parrot mode: %s will be repeated to %s" % (source_jid.userhost(), unicode(dest_jid))) + log.info(u"Parrot mode: %s will be repeated to %s" % (source_jid.userhost(), unicode(dest_jid))) def removeParrot(self, source_jid, profile): """Remove parrot link