diff hgext/convert/subversion.py @ 16689:f366d4c2ff34

cleanup: replace naked excepts with except Exception: ...
author Brodie Rao <brodie@sf.io>
date Sat, 12 May 2012 16:02:46 +0200
parents cfb6682961b8
children eaf6a6d7f015
line wrap: on
line diff
--- a/hgext/convert/subversion.py	Sat May 12 16:02:45 2012 +0200
+++ b/hgext/convert/subversion.py	Sat May 12 16:02:46 2012 +0200
@@ -176,7 +176,7 @@
                       'know better.\n'))
             return True
         data = inst.fp.read()
-    except:
+    except Exception:
         # Could be urllib2.URLError if the URL is invalid or anything else.
         return False
     return '<m:human-readable errcode="160013">' in data