# HG changeset patch # User Pierre-Yves David # Date 1431973507 18000 # Node ID 6dbbb4fa1892558229050c49fb738fd609a48b7f # Parent ebc41dae840abd1b46e0682a2380b145d17bd1c1 wireproto: turn an 'except' into a 'finally' as suggest by the comment Look! More hidden footprints! diff -r ebc41dae840a -r 6dbbb4fa1892 mercurial/wireproto.py --- 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))