summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorHye-Shik Chang <perky@FreeBSD.org>2004-12-05 02:48:04 +0000
committerHye-Shik Chang <perky@FreeBSD.org>2004-12-05 02:48:04 +0000
commit4dfc66ee435cdd4fb4c5cd445369efafed24ca4e (patch)
treef12a83823d6348530cfc1727b5a3fadf70c86324 /math
parentFix build on Python 2.4 (diff)
Fix build on Python 2.4.
Notes
Notes: svn path=/head/; revision=123159
Diffstat (limited to 'math')
-rw-r--r--math/py-scientific/files/patch-Scientific::MPI::core.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/math/py-scientific/files/patch-Scientific::MPI::core.py b/math/py-scientific/files/patch-Scientific::MPI::core.py
new file mode 100644
index 000000000000..c5cf77d2dcec
--- /dev/null
+++ b/math/py-scientific/files/patch-Scientific::MPI::core.py
@@ -0,0 +1,11 @@
+--- Scientific/MPI/core.py.orig Sun Dec 5 11:42:48 2004
++++ Scientific/MPI/core.py Sun Dec 5 11:43:28 2004
+@@ -315,7 +315,7 @@
+ return data, 0, data_tag, len(data)
+ raise MPIError, "no message received"
+
+- def receiveString(self, None, source=None, tag=None):
++ def receiveString(self, _None, source=None, tag=None):
+ array, source, tag, length = self.receive(source, tag)
+ return array.tostring(), source, tag
+