py3: change except from two comma to as notation
authortimeless@gmail.com
Wed, 20 Apr 2016 18:59:46 +0000
changeset 1679 6103f6ac8110
parent 1678 1247d87a738d
child 1680 7caa5f2040c5
py3: change except from two comma to as notation
hgext/evolve.py
--- a/hgext/evolve.py	Wed Apr 20 18:58:52 2016 +0000
+++ b/hgext/evolve.py	Wed Apr 20 18:59:46 2016 +0000
@@ -3938,7 +3938,7 @@
 def _evolvestateread(repo):
     try:
         f = repo.vfs('evolvestate')
-    except IOError, err:
+    except IOError as err:
         if err.errno != errno.ENOENT:
             raise
         return None