source: trunk/dports/python/py-numpy/files/patch-f2py_rules.py.diff @ 33719

Last change on this file since 33719 was 33719, checked in by ram@…, 12 years ago

py-numpy/py25-numpy: apply patch to fix f2py error when compiling a
Fortran module block, closes #14171

File size: 584 bytes
  • numpy/f2py/rules.py

     
    12191219        f.write('!     This file is autogenerated with f2py (version:%s)\n'%(f2py_version))
    12201220        f.write('!     It contains Fortran 90 wrappers to fortran functions.\n')
    12211221        lines = []
    1222         for l in '\n\n'.join(funcwrappers2)+'\n'.split('\n'):
     1222        for l in ('\n\n'.join(funcwrappers2)+'\n').split('\n'):
    12231223            if len(l)>72 and l[0]==' ':
    12241224                lines.append(l[:72]+'&\n     &')
    12251225                l = l[72:]
Note: See TracBrowser for help on using the repository browser.