Author: Dusty Phillips <du...@buchuki.com>
Branch: py3k
Changeset: r53499:1eb814119776
Date: 2012-03-13 15:14 -0700
http://bitbucket.org/pypy/pypy/changeset/1eb814119776/

Log:    fix exception syntax

diff --git a/pypy/module/_continuation/test/test_stacklet.py 
b/pypy/module/_continuation/test/test_stacklet.py
--- a/pypy/module/_continuation/test/test_stacklet.py
+++ b/pypy/module/_continuation/test/test_stacklet.py
@@ -553,11 +553,11 @@
                 res = "got keyerror"
             try:
                 c1.switch(res)
-            except IndexError, e:
+            except IndexError as e:
                 pass
             try:
                 c1.switch(e)
-            except IndexError, e2:
+            except IndexError as e2:
                 pass
             try:
                 c1.switch(e2)
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to