From 4dfc66ee435cdd4fb4c5cd445369efafed24ca4e Mon Sep 17 00:00:00 2001 From: Hye-Shik Chang Date: Sun, 5 Dec 2004 02:48:04 +0000 Subject: Fix build on Python 2.4. --- math/py-scientific/files/patch-Scientific::MPI::core.py | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 math/py-scientific/files/patch-Scientific::MPI::core.py (limited to 'math/py-scientific') 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 + -- cgit v1.2.3