Updated the changes following Chris Rewview
authorgian <gian@grys.it>
Wed, 7 Jul 2010 07:03:18 +0000 (09:03 +0200)
committergian <gian@grys.it>
Wed, 7 Jul 2010 07:03:18 +0000 (09:03 +0200)
libbe/command/depend.py

index 5898fc923bae8802300f39d6c48dfa3785f9dd0f..d0dd3b335193ae15bbcda2f900ac2f54cd4e1e24 100644 (file)
@@ -185,17 +185,17 @@ class Depend (libbe.command.Command):
                                for _bug in blocked_by])
             else:
                 print >> self.stdout, \
-                '\n'.join(['%s\t%s'%(_bug.id.user(), _bug.summary) 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()
             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 blocks])
             else:
                 print >> self.stdout, \
-                    '\n'.join([_bug.id.user() for _bug in blocks])
+                    '\n'.join(['%s\t%s'%(_bug.id.user(), _bug.summary) for _bug in blocks])
         return 0
 
     def _long_help(self):