hgext/share.py
changeset 25660 328739ea70c3
parent 25186 80c5b2666a96
child 25666 1c7e62360068
--- a/hgext/share.py	Tue Jun 23 22:38:21 2015 -0700
+++ b/hgext/share.py	Tue Jun 23 22:20:08 2015 -0700
@@ -84,7 +84,7 @@
     """Returns whether this repo has shared bookmarks"""
     try:
         shared = repo.vfs.read('shared').splitlines()
-    except IOError, inst:
+    except IOError as inst:
         if inst.errno != errno.ENOENT:
             raise
         return False