Added the bug summary to the output of the 'be depend' command
authorGianluca <gian@grys.it>
Tue, 6 Jul 2010 22:24:20 +0000 (00:24 +0200)
committerGianluca <gian@grys.it>
Tue, 6 Jul 2010 22:24:20 +0000 (00:24 +0200)
libbe/command/depend.py

index 92140eba8c0c8e6e39b04c60c2e370cde042ad9e..5898fc923bae8802300f39d6c48dfa3785f9dd0f 100644 (file)
@@ -181,11 +181,11 @@ class Depend (libbe.command.Command):
             print >> self.stdout, '%s blocked by:' % bugA.id.user()
             if params['show-status'] == True:
                 print >> self.stdout, \
-                    '\n'.join(['%s\t%s' % (_bug.id.user(), _bug.status)
+                    '\n'.join(['%s\t%s\t%s' % (_bug.id.user(), _bug.status, _bug.summary)
                                for _bug in blocked_by])
             else:
                 print >> self.stdout, \
-                    '\n'.join([_bug.id.user() for _bug in blocked_by])
+                '\n'.join(['%s\t%s'%(_bug.id.user(), _bug.summary) for _bug in blocked_by])
         blocks = get_blocks(bugdir, bugA)
         if len(blocks) > 0:
             print >> self.stdout, '%s blocks:' % bugA.id.user()