mercurial/util.py
changeset 16703 7292a4618f46
parent 16688 cfb6682961b8
child 16705 c2d9ef43ff6c
--- a/mercurial/util.py	Sun May 13 13:17:27 2012 +0200
+++ b/mercurial/util.py	Sun May 13 13:17:31 2012 +0200
@@ -762,7 +762,7 @@
         ofp.close()
     except:
         try: os.unlink(temp)
-        except: pass
+        except OSError: pass
         raise
     return temp