summaryrefslogtreecommitdiff
path: root/examples/roster_browser.py
diff options
context:
space:
mode:
authorRobin Gloster <robin@loc-com.de>2014-08-18 00:52:24 +0200
committerRobin Gloster <robin@loc-com.de>2014-08-18 00:55:10 +0200
commit4144d60017e200d97bcfe0286daee06d4641a9e0 (patch)
treefb9c0349f91d289b05107e7dad07c78f5be2c691 /examples/roster_browser.py
parenta5c03b763a6545a214f4f391f7c07582c22150b2 (diff)
downloadslixmpp-4144d60017e200d97bcfe0286daee06d4641a9e0.tar.gz
slixmpp-4144d60017e200d97bcfe0286daee06d4641a9e0.tar.bz2
slixmpp-4144d60017e200d97bcfe0286daee06d4641a9e0.tar.xz
slixmpp-4144d60017e200d97bcfe0286daee06d4641a9e0.zip
cleanup semicolons, whitespace and mutable default arguments
Diffstat (limited to 'examples/roster_browser.py')
-rwxr-xr-xexamples/roster_browser.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/roster_browser.py b/examples/roster_browser.py
index 485ac941..a16de24c 100755
--- a/examples/roster_browser.py
+++ b/examples/roster_browser.py
@@ -68,7 +68,7 @@ class RosterBrowser(sleekxmpp.ClientXMPP):
try:
self.get_roster()
except IqError as err:
- print('Error: %' % err.iq['error']['condition'])
+ print('Error: %s' % err.iq['error']['condition'])
except IqTimeout:
print('Error: Request timed out')
self.send_presence()