diff options
author | joerg <joerg@pkgsrc.org> | 2014-06-06 12:49:23 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2014-06-06 12:49:23 +0000 |
commit | bb5417da48d620d6dd67dc4d9847190c5adb9418 (patch) | |
tree | 233b8d05466d7c9b03d83a1a0664a998e694c635 /net | |
parent | 81005c2afd17b777e00648d34f8f54f886f397cf (diff) | |
download | pkgsrc-bb5417da48d620d6dd67dc4d9847190c5adb9418.tar.gz |
Dictionary comprehension is not supported by Python 2.6, avoid.
Diffstat (limited to 'net')
-rw-r--r-- | net/py-eventlib/distinfo | 3 | ||||
-rw-r--r-- | net/py-eventlib/patches/patch-eventlib_core.py | 13 |
2 files changed, 15 insertions, 1 deletions
diff --git a/net/py-eventlib/distinfo b/net/py-eventlib/distinfo index f4861386444..23b74435001 100644 --- a/net/py-eventlib/distinfo +++ b/net/py-eventlib/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.1 2014/05/03 15:20:12 rodent Exp $ +$NetBSD: distinfo,v 1.2 2014/06/06 12:49:23 joerg Exp $ SHA1 (eventlib-0.1.5.tar.gz) = 580a067739b4fa2e75764cbe2d0d5dcbeeec769a RMD160 (eventlib-0.1.5.tar.gz) = 253dea5ef9d6ecad70a991722f28106356ba64ef Size (eventlib-0.1.5.tar.gz) = 11278 bytes +SHA1 (patch-eventlib_core.py) = f2617df1e77421c2367aaf6079071a3d417dbd9d diff --git a/net/py-eventlib/patches/patch-eventlib_core.py b/net/py-eventlib/patches/patch-eventlib_core.py new file mode 100644 index 00000000000..f7cc758cd00 --- /dev/null +++ b/net/py-eventlib/patches/patch-eventlib_core.py @@ -0,0 +1,13 @@ +$NetBSD: patch-eventlib_core.py,v 1.1 2014/06/06 12:49:23 joerg Exp $ + +--- eventlib/core.py.orig 2014-06-06 11:58:21.000000000 +0000 ++++ eventlib/core.py +@@ -191,7 +191,7 @@ def filter_data_values(data): + and return another dict without them. + """ + banned = ('request',) +- return {key: val for key, val in data.items() if not key in banned} ++ return dict((key, val) for key, val in data.items() if not key in banned) + + + def import_event_modules(): |