[BUG] Trivial fix

Vincent Ladeuil v.ladeuil+lp at free.fr
Wed Mar 14 21:18:43 GMT 2007


While researching the bzr selftest test_selftest failure I
encounter the following:

=== modified file 'bzrlib/commands.py'
--- bzrlib/commands.py	2007-02-28 18:39:16 +0000
+++ bzrlib/commands.py	2007-03-14 20:45:17 +0000
@@ -647,9 +647,10 @@
 
 def run_bzr_catch_errors(argv):
     try:
-        return run_bzr(argv)
+        ret = run_bzr(argv)
         # do this here inside the exception wrappers to catch EPIPE
         sys.stdout.flush()
+        return ret
     except (KeyboardInterrupt, Exception), e:
         # used to handle AssertionError and KeyboardInterrupt
         # specially here, but hopefully they're handled ok by the logger now

It's unrelated but worth fixing I guess,

    Vincent



More information about the bazaar mailing list