[Numpy-svn] r5796 - trunk/numpy/f2py

numpy-svn@scip... numpy-svn@scip...
Tue Sep 9 05:55:34 CDT 2008


Author: pearu
Date: 2008-09-09 05:55:30 -0500 (Tue, 09 Sep 2008)
New Revision: 5796

Modified:
   trunk/numpy/f2py/crackfortran.py
Log:
Fix typo.

Modified: trunk/numpy/f2py/crackfortran.py
===================================================================
--- trunk/numpy/f2py/crackfortran.py	2008-09-08 11:19:47 UTC (rev 5795)
+++ trunk/numpy/f2py/crackfortran.py	2008-09-09 10:55:30 UTC (rev 5796)
@@ -327,7 +327,7 @@
                 if rl[:4].lower()=='f2py': # f2py directive
                     l = l + 4*' '
                     r=commentline.match(rl[4:])
-                    if r: l=l+r('line')
+                    if r: l=l+r.group('line')
                     else: l = l + rl[4:]
         if l.strip()=='': # Skip empty line
             cont=0



More information about the Numpy-svn mailing list