wireproto: return in finally was messing with the return inside the block
authorBenoit Boissinot <benoit.boissinot@ens-lyon.org>
Mon, 11 Oct 2010 12:44:11 -0500
changeset 12701 cb9e1d1c34ea
parent 12700 17aa0f1ed89d
child 12702 f747c085b789
wireproto: return in finally was messing with the return inside the block
mercurial/wireproto.py
--- 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()