Fix build on Python 2.4.
This commit is contained in:
parent
18335648ef
commit
4dfc66ee43
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=123159
1 changed files with 11 additions and 0 deletions
11
math/py-scientific/files/patch-Scientific::MPI::core.py
Normal file
11
math/py-scientific/files/patch-Scientific::MPI::core.py
Normal 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
|
||||
|
Loading…
Reference in a new issue