diff options
author | Pearu Peterson <pearu.peterson@gmail.com> | 2011-02-28 21:31:42 +0200 |
---|---|---|
committer | Pearu Peterson <pearu.peterson@gmail.com> | 2011-02-28 21:31:42 +0200 |
commit | 81fbb517544bdae0af202de2be7f4af34e29e509 (patch) | |
tree | 56a25beb07e8b4d37dac373fb1b14ddf375b9819 | |
parent | 3dfe0e10aa27cc057b1c5acfb77df8cfb2669a6c (diff) | |
download | numpy-81fbb517544bdae0af202de2be7f4af34e29e509.tar.gz |
Fix bug in constructing use statement with only.
-rwxr-xr-x | numpy/f2py/crackfortran.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/f2py/crackfortran.py b/numpy/f2py/crackfortran.py index 3463b69f1..ccc62188b 100755 --- a/numpy/f2py/crackfortran.py +++ b/numpy/f2py/crackfortran.py @@ -2547,7 +2547,7 @@ def use2fortran(use,tab=''): if ret and ret[-1]==',': ret=ret[:-1] continue if 'only' in use[m] and use[m]['only']: - ret='%s,only:'%(ret) + ret='%s only:'%(ret) if 'map' in use[m] and use[m]['map']: c=' ' for k in use[m]['map'].keys(): |