-
assigned issue to
pymod-process.py parsing of line endings
Issue #114
resolved
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)
-
Account Deleted -
Account Deleted I think, and jowie acquiesces, that failing on DOS lineendings is preferable, to keep them out of asss
-
Account Deleted accepted jowie's patch in 1221:aaf7657813af. Accidentally listed it as fixing
#119in the commit -
Account Deleted - changed status to resolved
- Log in to comment