aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--becommands/list.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/becommands/list.py b/becommands/list.py
index 4b0fa1d..f602ba3 100644
--- a/becommands/list.py
+++ b/becommands/list.py
@@ -59,6 +59,9 @@ def execute(args):
other_bugs.append(bug)
def list_bugs(cur_bugs, title, no_target=False):
+ def cmp_date(bug1, bug2):
+ return -cmp(bug1.time, bug2.time)
+ cur_bugs.sort(cmp_date)
cur_bugs.sort(bugdir.cmp_severity)
if len(cur_bugs) > 0:
print cmdutil.underlined(title)