diff options
author | pierregm <pierregmcode@gmail.com> | 2010-11-13 17:54:44 +0100 |
---|---|---|
committer | pierregm <pierregmcode@gmail.com> | 2010-11-13 21:19:50 +0100 |
commit | fad376ead11b8e0f3101d37b62b0c8d5ba40af72 (patch) | |
tree | 3c55bd1544785d4a35d046290c22f53f958b72a4 /numpy/lib/_iotools.py | |
parent | a9d936ee92b1732256e30db44377b53769e6241e (diff) | |
download | numpy-fad376ead11b8e0f3101d37b62b0c8d5ba40af72.tar.gz |
Fix bug #1656
Diffstat (limited to 'numpy/lib/_iotools.py')
-rw-r--r-- | numpy/lib/_iotools.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/lib/_iotools.py b/numpy/lib/_iotools.py index 451f0f610..8a0697d58 100644 --- a/numpy/lib/_iotools.py +++ b/numpy/lib/_iotools.py @@ -209,7 +209,7 @@ class LineSplitter: return line.split(self.delimiter) # def _fixedwidth_splitter(self, line): - line = line.split(self.comments)[0] + line = line.split(self.comments)[0].strip(asbytes("\r\n")) if not line: return [] fixed = self.delimiter |