Author: Antonio Cuni <anto.c...@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 _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit