Use Bug.active to decide active status in becommands/html.py
authorW. Trevor King <wking@drexel.edu>
Wed, 23 Sep 2009 13:13:46 +0000 (09:13 -0400)
committerW. Trevor King <wking@drexel.edu>
Wed, 23 Sep 2009 13:13:46 +0000 (09:13 -0400)
becommands/html.py

index 2f3a7eea27a9744e9093400bd8c3110688a80aca..908c714d0f4f6ba9a86cfc6ba3bc86ec75bd26d6 100644 (file)
@@ -71,7 +71,7 @@ def execute(args, manipulate_encodings=True):
         st[s] = 0
     for b in sorted(bd, reverse=True):
         stime[b.uuid]  = b.time
-        if b.status in ["open", "test", "unconfirmed", "assigned"]:
+        if b.active == True:
             bugs_active.append(b)
         else:
             bugs_inactive.append(b)