Tidy up the examples.

This commit is contained in:
Lance Stout
2011-03-23 22:59:21 -04:00
parent d6f2e51b05
commit 4916a12b6f
3 changed files with 19 additions and 14 deletions

View File

@@ -113,7 +113,7 @@ class Disco(sleekxmpp.ClientXMPP):
if self.get in self.identity_types:
print('Identities:')
for identity in info['disco_info']['identities']:
print(' - ', identity)
print(' - %s' % str(identity))
if self.get in self.feature_types:
print('Features:')