From 6a9fc1dfa151b84221963ac738a2072aea61504b Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Thu, 28 Oct 2010 19:01:42 -0400 Subject: [PATCH] Make dependency tree output respect --show-status/--show-summary flags. --- libbe/command/depend.py | 12 ++++++------ 1 file 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: -- 2.26.2