aboutsummaryrefslogtreecommitdiffstats
path: root/libbe/bug.py
diff options
context:
space:
mode:
authorW. Trevor King <wking@drexel.edu>2009-12-14 20:13:30 -0500
committerW. Trevor King <wking@drexel.edu>2009-12-14 20:13:30 -0500
commit0f87a22c20a019f49455005542d4c60216ce39d2 (patch)
treecc049719dfeb4ba385c2e34b71a2ee8c03a92c69 /libbe/bug.py
parent3e5823d0985a54dec37f103dc72fda604d12a948 (diff)
downloadbugseverywhere-0f87a22c20a019f49455005542d4c60216ce39d2.tar.gz
Transitioned merge to Command-format
Diffstat (limited to 'libbe/bug.py')
-rw-r--r--libbe/bug.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/libbe/bug.py b/libbe/bug.py
index 6c5f958..da9a1a2 100644
--- a/libbe/bug.py
+++ b/libbe/bug.py
@@ -296,8 +296,7 @@ class Bug(settings_object.SavedSettingsObject):
bugout = "%s:%s: %s" % (self.id.user(),chars,self.summary.rstrip('\n'))
if show_comments == True:
- # take advantage of the string_thread(auto_name_map=True)
- # SIDE-EFFECT of sorting by comment time.
+ self.comment_root.sort(cmp=libbe.comment.cmp_time, reverse=True)
comout = self.comment_root.string_thread(flatten=False)
output = bugout + '\n' + comout.rstrip('\n')
else :