Commit 04271457 authored by Daniel Brown's avatar Daniel Brown

adding pykat data parse fix from Daniel T

parent 2ce47a34
......@@ -1500,7 +1500,14 @@ class kat(object):
# don't read comment lines
if line[0] == "#" or line[0] == "%":
if keepComments:
if line.startswith(PYKAT_DATA):
# Checks if pykat data is included now as a comment
vals = line.split("=", 1)
if len(v)==2:
self._str2data(vals[1])
elif keepComments:
self.addLine(line, self.__currentTag)
continue
......
Markdown is supported
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