public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-python/pyzmq/files: pyzmq-2.2.0.1-python3.patch
@ 2012-08-29 17:11 Mike Gilbert (floppym)
  0 siblings, 0 replies; only message in thread
From: Mike Gilbert (floppym) @ 2012-08-29 17:11 UTC (permalink / raw
  To: gentoo-commits

floppym     12/08/29 17:11:31

  Added:                pyzmq-2.2.0.1-python3.patch
  Log:
  Apply patch to fix exception syntax and unrestrict python 3.
  
  (Portage version: 2.2.0_alpha123/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  dev-python/pyzmq/files/pyzmq-2.2.0.1-python3.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyzmq/files/pyzmq-2.2.0.1-python3.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyzmq/files/pyzmq-2.2.0.1-python3.patch?rev=1.1&content-type=text/plain

Index: pyzmq-2.2.0.1-python3.patch
===================================================================
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






^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2012-08-29 17:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-29 17:11 [gentoo-commits] gentoo-x86 commit in dev-python/pyzmq/files: pyzmq-2.2.0.1-python3.patch Mike Gilbert (floppym)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox