parsing of line endings

Issue #114 resolved
created an issue

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

Allowing to acount for wrong line endings is an easy fix:

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


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

with {{{


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

Comments (4)

  1. Log in to comment