diff options
Diffstat (limited to 'dev-python/pyzmq/files/pyzmq-2.2.0.1-python3.patch')
-rw-r--r-- | dev-python/pyzmq/files/pyzmq-2.2.0.1-python3.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/dev-python/pyzmq/files/pyzmq-2.2.0.1-python3.patch b/dev-python/pyzmq/files/pyzmq-2.2.0.1-python3.patch new file mode 100644 index 00000000000..d6b1299add7 --- /dev/null +++ b/dev-python/pyzmq/files/pyzmq-2.2.0.1-python3.patch @@ -0,0 +1,34 @@ +From 51f2470bce6c9e6067606aec2d9a018555582b30 Mon Sep 17 00:00:00 2001 +From: MinRK <benjaminrk@gmail.com> +Date: Mon, 20 Aug 2012 22:44:27 -0700 +Subject: [PATCH] fix exception syntax in gevent.core + +--- + zmq/green/core.py | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/zmq/green/core.py b/zmq/green/core.py +index d4e5f73..9e5acdf 100644 +--- a/zmq/green/core.py ++++ b/zmq/green/core.py +@@ -114,7 +114,7 @@ def _wait_write(self): + 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 @@ def _wait_read(self): + 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() +-- +1.7.10 + |