[Patch] run_bzr() should return status of called command

Michael Ellerman michael+bazaar at ellerman.id.au
Mon May 9 16:13:29 BST 2005


Hi Martin,

Looks like this got broken at some point?

cheers

*** modified file 'bzrlib/commands.py'
--- bzrlib/commands.py
+++ bzrlib/commands.py
@@ -917,7 +970,7 @@
             os.close(pffileno)
             os.remove(pfname)
     else:
-        cmdobj = cmd_class(cmdopts, cmdargs).status
+        return cmd_class(cmdopts, cmdargs).status


 def _report_exception(summary, quiet=False):





More information about the bazaar mailing list