From: Tim Yardley Date: Mon, 25 Jun 2007 22:38:20 +0000 (+0000) Subject: python 2.5 fix for pyevent X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=9ab70d7c22d4ce9b588ec02a1645d0919b7ce1e7;p=openwrt%2Fsvn-archive%2Farchive.git python 2.5 fix for pyevent SVN-Revision: 7735 --- diff --git a/libs/pyevent/patches/001-event-pyx-python25.patch b/libs/pyevent/patches/001-event-pyx-python25.patch new file mode 100644 index 0000000000..2d97e87053 --- /dev/null +++ b/libs/pyevent/patches/001-event-pyx-python25.patch @@ -0,0 +1,11 @@ +--- pyevent-0.3-old/event.pyx 2005-09-11 22:16:15.000000000 -0500 ++++ pyevent-0.3/event.pyx 2007-06-12 11:28:33.000000000 -0500 +@@ -259,7 +259,7 @@ + global __event_exc + event_dispatch() + if __event_exc: +- raise __event_exc[0], __event_exc[1], __event_exc[2] ++ raise OSError, "%s [%s]" % (__event_exc[0], __event_exc[1]), __event_exc[2] + + def loop(nonblock=False): + """Dispatch all pending events on queue in a single pass."""