2d97e870536111c806acc635365f009417c82ccb
[openwrt/svn-archive/archive.git] / libs / pyevent / patches / 001-event-pyx-python25.patch
1 --- pyevent-0.3-old/event.pyx 2005-09-11 22:16:15.000000000 -0500
2 +++ pyevent-0.3/event.pyx 2007-06-12 11:28:33.000000000 -0500
3 @@ -259,7 +259,7 @@
4 global __event_exc
5 event_dispatch()
6 if __event_exc:
7 - raise __event_exc[0], __event_exc[1], __event_exc[2]
8 + raise OSError, "%s [%s]" % (__event_exc[0], __event_exc[1]), __event_exc[2]
9
10 def loop(nonblock=False):
11 """Dispatch all pending events on queue in a single pass."""