aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorW. Trevor King <wking@drexel.edu>2010-10-28 19:01:42 -0400
committerW. Trevor King <wking@drexel.edu>2010-10-28 19:01:42 -0400
commit6a9fc1dfa151b84221963ac738a2072aea61504b (patch)
treee7a4b8da435b740892c49395cc85812f8c200f00
parentf7e59d8f264577bf44fe4bc043d1107843e31f7c (diff)
downloadbugseverywhere-6a9fc1dfa151b84221963ac738a2072aea61504b.tar.gz
Make dependency tree output respect --show-status/--show-summary flags.
-rw-r--r--libbe/command/depend.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/libbe/command/depend.py b/libbe/command/depend.py
index 1868dbc..e1446fe 100644
--- a/libbe/command/depend.py
+++ b/libbe/command/depend.py
@@ -225,16 +225,16 @@ class Depend (libbe.command.Command):
print >> self.stdout, '%s blocked by:' % bugA.id.user()
for depth,node in dtree.blocked_by_tree().thread():
if depth == 0: continue
- print >> self.stdout, \
- '%s%s' % (' '*(depth),
- node.bug.string(shortlist=True))
+ print >> self.stdout, (
+ '%s%s'
+ % (' '*(depth), self.bug_string(node.bug, params)))
if len(dtree.blocks_tree()) > 0:
print >> self.stdout, '%s blocks:' % bugA.id.user()
for depth,node in dtree.blocks_tree().thread():
if depth == 0: continue
- print >> self.stdout, \
- '%s%s' % (' '*(depth),
- node.bug.string(shortlist=True))
+ print >> self.stdout, (
+ '%s%s'
+ % (' '*(depth), self.bug_string(node.bug, params)))
return 0
if params['blocking-bug-id'] != None: