1
0
This repository has been archived on 2025-06-16. You can view files and clone it, but cannot push or open issues or pull requests.
Files
openwrt_archive/lang/pypcap/patches/001-python2_5.patch
Nicolas Thill 8eae12a8e4 massive python changes:
* move all python packages to lang section
 * add a python-package.mk rules file sourced by all python packages for PyPackage/* defs
 * introduce a new way of specifying files to be packaged (experimental)
 * add missing svn:properties


SVN-Revision: 8639
2007-09-06 02:52:35 +00:00

12 lines
422 B
Diff

--- pypcap-1.1-old/pcap.pyx 2005-10-16 18:00:11.000000000 -0500
+++ pypcap-1.1/pcap.pyx 2007-06-12 11:11:41.000000000 -0500
@@ -285,7 +285,7 @@
<unsigned char *>&ctx)
if ctx.got_exc:
exc = sys.exc_info()
- raise exc[0], exc[1], exc[2]
+ raise OSError, "%s [%s]" % (exc[0], exc[1]), exc[2]
return n
def loop(self, callback, *args):