From 81fbb517544bdae0af202de2be7f4af34e29e509 Mon Sep 17 00:00:00 2001 From: Pearu Peterson Date: Mon, 28 Feb 2011 21:31:42 +0200 Subject: Fix bug in constructing use statement with only. --- numpy/f2py/crackfortran.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'numpy/f2py') 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(): -- cgit v1.2.1