[Python-modules-commits] r23581 - in packages/pyzmq/trunk/debian/patches (2 files)

jtaylor-guest at users.alioth.debian.org jtaylor-guest at users.alioth.debian.org
Sun Feb 24 20:30:42 UTC 2013


    Date: Sunday, February 24, 2013 @ 20:30:39
  Author: jtaylor-guest
Revision: 23581

fix error making green/core.py py3 incompatible

Added:
  packages/pyzmq/trunk/debian/patches/fix-py3-green.patch
  packages/pyzmq/trunk/debian/patches/series

Added: packages/pyzmq/trunk/debian/patches/fix-py3-green.patch
===================================================================
--- packages/pyzmq/trunk/debian/patches/fix-py3-green.patch	                        (rev 0)
+++ packages/pyzmq/trunk/debian/patches/fix-py3-green.patch	2013-02-24 20:30:39 UTC (rev 23581)
@@ -0,0 +1,23 @@
+Description: make green py3 compatible
+Applied-Upstream: 13.0.0
+--- a/zmq/green/core.py.orig      2013-02-24 20:06:01.012299572 +0100
++++ b/zmq/green/core.py   2013-02-24 20:15:15.420298258 +0100
+@@ -114,7 +114,7 @@
+         try:
+             timeout.start()
+             self.__writable.get(block=True)
+-        except gevent.Timeout, t:
++        except gevent.Timeout as t:
+             if t is not timeout:
+                 raise
+             toc = time.time()
+@@ -138,7 +138,7 @@
+         try:
+             timeout.start()
+             self.__readable.get(block=True)
+-        except gevent.Timeout, t:
++        except gevent.Timeout as t:
+             if t is not timeout:
+                 raise
+             toc = time.time()
+

Added: packages/pyzmq/trunk/debian/patches/series
===================================================================
--- packages/pyzmq/trunk/debian/patches/series	                        (rev 0)
+++ packages/pyzmq/trunk/debian/patches/series	2013-02-24 20:30:39 UTC (rev 23581)
@@ -0,0 +1 @@
+fix-py3-green.patch




More information about the Python-modules-commits mailing list