]> khamidou — GitHub mirrors - imapclient.git/commitdiff
cleaned up example a little
authorMenno Smits <menno@freshfoo.com>
Fri, 10 Sep 2010 19:31:06 +0000 (20:31 +0100)
committerMenno Smits <menno@freshfoo.com>
Fri, 10 Sep 2010 19:31:06 +0000 (20:31 +0100)
examples/example.py

index f263fed2398b45e428ebdf1af9dd35541ab5a97a..1bc4c3d30aa50b8d2132574d3d7a0c71618ffd8e 100644 (file)
@@ -18,7 +18,6 @@ print
 print "Messages:"
 response = server.fetch(messages, ['FLAGS', 'RFC822.SIZE'])
 for msgid, data in response.iteritems():
-    print '   ID %d: %d bytes, flags=%s' % (
-            msgid,
-            data['RFC822.SIZE'],
-            ','.join(data['FLAGS']))
+    print '   ID %d: %d bytes, flags=%s' % (msgid,
+                                            data['RFC822.SIZE'],
+                                            data['FLAGS'])