diff mercurial/bundlerepo.py @ 14004:97ed99d1f419

eliminate various naked except clauses
author Idan Kamara <idankk86@gmail.com>
date Sat, 23 Apr 2011 00:51:25 +0300
parents e574207e3bcd
children 72c84f24b420
line wrap: on
line diff
--- a/mercurial/bundlerepo.py	Sun Apr 24 17:52:46 2011 -0500
+++ b/mercurial/bundlerepo.py	Sat Apr 23 00:51:25 2011 +0300
@@ -294,7 +294,7 @@
     if not incoming:
         try:
             os.unlink(bundlename)
-        except:
+        except OSError:
             pass
         return other, None, None, None