From c965aa41c229332dd80d65261ba9b746fe4667f7 Mon Sep 17 00:00:00 2001 From: joerg Date: Mon, 30 Nov 2009 19:24:06 +0000 Subject: with is a keyword starting with Python 2.6 by default, so don't use it as parameter name. --- textproc/py-gnosis-utils/patches/patch-ab | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 textproc/py-gnosis-utils/patches/patch-ab (limited to 'textproc/py-gnosis-utils/patches') 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.) -- cgit v1.2.3