Fix build on Python 2.4.

This commit is contained in:
Hye-Shik Chang 2004-12-05 02:48:04 +00:00
parent 18335648ef
commit 4dfc66ee43
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=123159

View file

@ -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