changeset 12701:cb9e1d1c34ea

wireproto: return in finally was messing with the return inside the block
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
date Mon, 11 Oct 2010 12:44:11 -0500
parents 17aa0f1ed89d
children f747c085b789
files mercurial/wireproto.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/wireproto.py	Mon Oct 11 13:51:10 2010 +0200
+++ b/mercurial/wireproto.py	Mon Oct 11 12:44:11 2010 -0500
@@ -310,7 +310,7 @@
                 sys.stderr.write("abort: %s\n" % inst)
         finally:
             lock.release()
-            return pushres(r)
+        return pushres(r)
 
     finally:
         fp.close()