diff mercurial/util.py @ 34435:5326e4ef1dab

style: never put multiple statements on one line Differential Revision: https://phab.mercurial-scm.org/D905
author Alex Gaynor <agaynor@mozilla.com>
date Fri, 29 Sep 2017 15:49:20 +0000
parents b76937fafe8a
children 192f7b126ed2
line wrap: on
line diff
--- a/mercurial/util.py	Mon Oct 02 18:18:57 2017 +0100
+++ b/mercurial/util.py	Fri Sep 29 15:49:20 2017 +0000
@@ -1605,8 +1605,10 @@
         ifp.close()
         ofp.close()
     except: # re-raises
-        try: os.unlink(temp)
-        except OSError: pass
+        try:
+            os.unlink(temp)
+        except OSError:
+            pass
         raise
     return temp