summaryrefslogtreecommitdiff
path: root/poezio/core/commands.py
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2018-06-28 14:49:54 +0200
committerEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2018-06-28 14:49:54 +0200
commit7b3a116d7602a25dd71b16133be44a35cb3d7cf1 (patch)
treeca0a1db4b241d73442f044778f128f129f8f4416 /poezio/core/commands.py
parente846825fc812cdf48717dd1c156d430101e2f5d0 (diff)
downloadpoezio-7b3a116d7602a25dd71b16133be44a35cb3d7cf1.tar.gz
poezio-7b3a116d7602a25dd71b16133be44a35cb3d7cf1.tar.bz2
poezio-7b3a116d7602a25dd71b16133be44a35cb3d7cf1.tar.xz
poezio-7b3a116d7602a25dd71b16133be44a35cb3d7cf1.zip
Replace the '%s' % var pattern with str(var).
Diffstat (limited to 'poezio/core/commands.py')
-rw-r--r--poezio/core/commands.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/poezio/core/commands.py b/poezio/core/commands.py
index 8c7cbcd2..7d503fff 100644
--- a/poezio/core/commands.py
+++ b/poezio/core/commands.py
@@ -895,7 +895,7 @@ class CommandCore:
def iqfunc(iq):
"handler for an iq reply"
- self.core.information('%s' % iq, 'Iq')
+ self.core.information(str(iq), 'Iq')
self.core.xmpp.remove_handler('Iq %s' % iq_id)
self.core.xmpp.register_handler(