aboutsummaryrefslogtreecommitdiffstats
path: root/becommands/show.py
diff options
context:
space:
mode:
authorAaron Bentley <abentley@panoramicfeedback.com>2005-03-23 17:34:55 +0000
committerAaron Bentley <abentley@panoramicfeedback.com>2005-03-23 17:34:55 +0000
commit6fc191d83c62ec44184b113193e6046bb4999ece (patch)
tree2cd090408dfbf76a7309a1ab444cb718d89b4b8c /becommands/show.py
parent6ce163d30fcd765fdd93d57f0df4d1b1ef97c1b9 (diff)
downloadbugseverywhere-6fc191d83c62ec44184b113193e6046bb4999ece.tar.gz
Added comment support to show, added comment command
Diffstat (limited to 'becommands/show.py')
-rw-r--r--becommands/show.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/becommands/show.py b/becommands/show.py
index 3ec5ec4..77a0875 100644
--- a/becommands/show.py
+++ b/becommands/show.py
@@ -14,3 +14,8 @@ def execute(args):
time_str = "%s (%s)" % (utility.handy_time(bug.time),
utility.time_to_str(bug.time))
print "Created: %s\n" % time_str
+ for comment in bug.list_comments():
+ print "---------------------------"
+ print "From: %s" % comment.From
+ print "Date: %s\n" % utility.time_to_str(comment.date)
+ print comment.body