summaryrefslogtreecommitdiff
path: root/textproc/py-gnosis-utils/patches
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2009-11-30 19:24:06 +0000
committerjoerg <joerg@pkgsrc.org>2009-11-30 19:24:06 +0000
commitc965aa41c229332dd80d65261ba9b746fe4667f7 (patch)
tree62a6b755c811973f6fcf01760e8f39920c1717f9 /textproc/py-gnosis-utils/patches
parenta544e5dfe659700124131a9e70c0fb3fa7ae2c40 (diff)
downloadpkgsrc-c965aa41c229332dd80d65261ba9b746fe4667f7.tar.gz
with is a keyword starting with Python 2.6 by default, so don't use it
as parameter name.
Diffstat (limited to 'textproc/py-gnosis-utils/patches')
-rw-r--r--textproc/py-gnosis-utils/patches/patch-ab15
1 files changed, 15 insertions, 0 deletions
diff --git a/textproc/py-gnosis-utils/patches/patch-ab b/textproc/py-gnosis-utils/patches/patch-ab
new file mode 100644
index 00000000000..1315ff44045
--- /dev/null
+++ b/textproc/py-gnosis-utils/patches/patch-ab
@@ -0,0 +1,15 @@
+$NetBSD: patch-ab,v 1.1 2009/11/30 19:24:06 joerg Exp $
+
+--- gnosis/util/convert/pyfontify.py.orig 2009-11-30 20:12:42.000000000 +0100
++++ gnosis/util/convert/pyfontify.py
+@@ -31,8 +31,8 @@ import string, regex
+
+ # First a little helper, since I don't like to repeat things. (Tismer speaking)
+ import string
+-def replace(where, what, with):
+- return string.join(string.split(where, what), with)
++def replace(where, what, with_):
++ return string.join(string.split(where, what), with_)
+
+ # This list of keywords is taken from ref/node13.html of the
+ # Python 1.3 HTML documentation. ("access" is intentionally omitted.)