Patchwork [2,of,4,evolve-ext] py3: change except from two comma to as notation

login
register
mail settings
Submitter timeless
Date April 20, 2016, 7:19 p.m.
Message ID <e7a1b64ce1e665554457.1461179960@gcc2-power8.osuosl.org>
Download mbox | patch
Permalink /patch/14743/
State Accepted
Delegated to: Pierre-Yves David
Headers show

Comments

timeless - April 20, 2016, 7:19 p.m.
# HG changeset patch
# User timeless@gmail.com
# Date 1461178786 0
#      Wed Apr 20 18:59:46 2016 +0000
# Node ID e7a1b64ce1e6655544579abd8f48a4396bb43fc8
# Parent  ea58367ce4bbae9c1ae55cdbfc51bcb1f5bb2471
# Available At https://bitbucket.org/timeless/mutable-history/
#              hg pull https://bitbucket.org/timeless/mutable-history/ -r e7a1b64ce1e6
py3: change except from two comma to as notation

Patch

diff -r ea58367ce4bb -r e7a1b64ce1e6 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
@@ -3937,7 +3937,7 @@ 
 def _evolvestateread(repo):
     try:
         f = repo.vfs('evolvestate')
-    except IOError, err:
+    except IOError as err:
         if err.errno != errno.ENOENT:
             raise
         return None