Let the snapshot-file parser parse empty T lines, since they are used to start a transition.
This commit is contained in:
parent
3ea3d9eed6
commit
d577f5bdf9
1 changed files with 2 additions and 0 deletions
|
|
@ -26,6 +26,8 @@ def parse_line(n, line):
|
|||
|
||||
if re.match(r"\s*$", line): return None
|
||||
|
||||
if re.match(r"^T\s*$", line): return None
|
||||
|
||||
match = re.match(r"\s+([\w_-]+) ([a-fA-F\d]{40})\s*$", line)
|
||||
if match:
|
||||
return { "type": "file",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue