diff options
author | perky <perky@FreeBSD.org> | 2004-12-05 10:48:04 +0800 |
---|---|---|
committer | perky <perky@FreeBSD.org> | 2004-12-05 10:48:04 +0800 |
commit | 5b9d4213e7732c341d9d16aaeb31bc1986de6ad8 (patch) | |
tree | e52e93edc8b7a8c4df390d30ca94ca2e7a93a623 /math | |
parent | 7a1bf71f579e4fd54ece925494b0e5291bc3c279 (diff) | |
download | freebsd-ports-gnome-5b9d4213e7732c341d9d16aaeb31bc1986de6ad8.tar.gz freebsd-ports-gnome-5b9d4213e7732c341d9d16aaeb31bc1986de6ad8.tar.zst freebsd-ports-gnome-5b9d4213e7732c341d9d16aaeb31bc1986de6ad8.zip |
Fix build on Python 2.4.
Diffstat (limited to 'math')
-rw-r--r-- | math/py-scientific/files/patch-Scientific::MPI::core.py | 11 |
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 + |