Skip to content

Commit d577f5b

Browse files
committed
Let the snapshot-file parser parse empty T lines, since they are used to start a transition.
1 parent 3ea3d9e commit d577f5b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/etc/snapshot.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ def parse_line(n, line):
2626

2727
if re.match(r"\s*$", line): return None
2828

29+
if re.match(r"^T\s*$", line): return None
30+
2931
match = re.match(r"\s+([\w_-]+) ([a-fA-F\d]{40})\s*$", line)
3032
if match:
3133
return { "type": "file",

0 commit comments

Comments
 (0)