diff hgext/convert/git.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 e34106fa0dc3
children 0eed66327ad4
line wrap: on
line diff
--- a/hgext/convert/git.py	Sat May 12 16:02:45 2012 +0200
+++ b/hgext/convert/git.py	Sat May 12 16:02:46 2012 +0200
@@ -211,7 +211,7 @@
                         continue
                     name = '%s%s' % (reftype, name[prefixlen:])
                     bookmarks[name] = rev
-            except:
+            except Exception:
                 pass
 
         return bookmarks