Updated comment formatting
authorAaron Bentley <abentley@panoramicfeedback.com>
Wed, 23 Mar 2005 18:36:48 +0000 (18:36 +0000)
committerAaron Bentley <abentley@panoramicfeedback.com>
Wed, 23 Mar 2005 18:36:48 +0000 (18:36 +0000)
becommands/show.py

index 77a0875583f078a80565b56771fdd1cb9f3d33d7..9d56a226e18087cd956bf3979a286aa0fe1f96ca 100644 (file)
@@ -13,9 +13,9 @@ def execute(args):
     else:
         time_str = "%s (%s)" % (utility.handy_time(bug.time), 
                                 utility.time_to_str(bug.time))
-    print "Created: %s\n" % time_str
+    print "Created: %s" % time_str
     for comment in bug.list_comments():
-        print "---------------------------"
+        print "--------- Comment ---------"
         print "From: %s" % comment.From
         print "Date: %s\n" % utility.time_to_str(comment.date)
-        print comment.body
+        print comment.body.rstrip('\n')