wireproto: turn an 'except' into a 'finally' as suggest by the comment
Look! More hidden footprints!
--- a/mercurial/wireproto.py Mon May 18 12:56:59 2015 -0500
+++ b/mercurial/wireproto.py Mon May 18 13:25:07 2015 -0500
@@ -807,11 +807,8 @@
else:
for chunk in util.filechunkiter(sopener(name), limit=size):
yield chunk
- # replace with "finally:" when support for python 2.4 has been dropped
- except Exception:
+ finally:
sopener.mustaudit = oldaudit
- raise
- sopener.mustaudit = oldaudit
return streamres(streamer(repo, entries, total_bytes))