Commit 48fa53dd authored by juga's avatar juga
Browse files

Stop including \n EOL when parsing V110 header

parent 9ac61cc5
......@@ -146,7 +146,8 @@ class V3BWHeader(object):
for l in lines[:index_terminator]
if l.split(KEYVALUE_SEP_V110)[0] in ALL_KEYVALUES])
h = cls(ts, **kwargs)
return h, lines[index_terminator + 1:]
# last line is new line
return h, lines[index_terminator + 1:-1]
@classmethod
def from_text_v110(self, text):
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment