diff hgext/evolve.py @ 1679:6103f6ac8110

py3: change except from two comma to as notation
author timeless@gmail.com
date Wed, 20 Apr 2016 18:59:46 +0000
parents 1247d87a738d
children 7caa5f2040c5
line wrap: on
line diff
--- 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