pymod-process.py parsing of line endings

Issue #114 resolved
Joris
created an issue

I accidentally had a header file with windows line endings instead of unix. pymod-process.py (on linux) got confused and did not recognize a portion of the instructions.

Allowing pymod-process.py to acount for wrong line endings is an easy fix:

On line 1792 (r1189:9aca2ef99f14) replace the line {{{

!python

lines.extend(open(f).readlines()) }}}

with {{{

!python

lines.extend(map(lambda l: l.rstrip("\r\n"), open(f).readlines())) }}}

Comments (4)

  1. Log in to comment