[pypy-commit] pypy py3k: py3k-ify

antocuni noreply at buildbot.pypy.org
Thu May 31 16:20:37 CEST 2012


Author: Antonio Cuni <anto.cuni at gmail.com>
Branch: py3k
Changeset: r55234:30dada9c82e2
Date: 2012-05-31 15:39 +0200
http://bitbucket.org/pypy/pypy/changeset/30dada9c82e2/

Log:	py3k-ify

diff --git a/pypy/module/_ssl/test/test_ssl.py b/pypy/module/_ssl/test/test_ssl.py
--- a/pypy/module/_ssl/test/test_ssl.py
+++ b/pypy/module/_ssl/test/test_ssl.py
@@ -133,7 +133,7 @@
         ss.write(b"hello\n")
         try:
             ss.shutdown(socket.SHUT_RDWR)
-        except socket.error, e:
+        except socket.error as e:
             if e.errno == 0:
                 pass  # xxx obscure case; throwing errno 0 is pretty odd...
             raise


More information about the pypy-commit mailing list