aboutsummaryrefslogtreecommitdiffstats
path: root/becommands
diff options
context:
space:
mode:
authorAaron Bentley <abentley@panoramicfeedback.com>2005-03-21 14:10:43 +0000
committerAaron Bentley <abentley@panoramicfeedback.com>2005-03-21 14:10:43 +0000
commit9bfac949bf3764f61a42633b88e54ce766d95786 (patch)
tree305c3390a90693fdab818fd8360051fec149456e /becommands
parent052bdf5a83c127f79b8518c41f2f8728f7125362 (diff)
downloadbugseverywhere-9bfac949bf3764f61a42633b88e54ce766d95786.tar.gz
Stopped showing targets under target-specific headings
Diffstat (limited to 'becommands')
-rw-r--r--becommands/list.py12
1 files changed, 7 insertions, 5 deletions
diff --git a/becommands/list.py b/becommands/list.py
index 94ca10a..f647564 100644
--- a/becommands/list.py
+++ b/becommands/list.py
@@ -45,19 +45,21 @@ def execute(args):
else:
other_bugs.append(bug)
- def list_bugs(cur_bugs, title):
+ def list_bugs(cur_bugs, title, no_target=False):
cur_bugs.sort(bugdir.cmp_severity)
if len(cur_bugs) > 0:
print cmdutil.underlined(title)
for bug in cur_bugs:
- print cmdutil.bug_summary(bug, all_bugs)
+ print cmdutil.bug_summary(bug, all_bugs, no_target=no_target)
list_bugs(my_target_bugs,
- "Bugs assigned to you for target %s" % tree.target)
+ "Bugs assigned to you for target %s" % tree.target,
+ no_target=True)
list_bugs(unassigned_target_bugs,
- "Unassigned bugs for target %s" % tree.target)
+ "Unassigned bugs for target %s" % tree.target, no_target=True)
list_bugs(other_target_bugs,
- "Bugs assigned to others for target %s" % tree.target)
+ "Bugs assigned to others for target %s" % tree.target,
+ no_target=True)
list_bugs(my_bugs, "Bugs assigned to you")
list_bugs(unassigned_bugs, "Unassigned bugs")
list_bugs(other_bugs, "Bugs assigned to others")