From d577f5bdf98b29259c1f2484fa56017d5710d203 Mon Sep 17 00:00:00 2001 From: Graydon Hoare Date: Mon, 16 May 2011 15:14:44 -0700 Subject: [PATCH] Let the snapshot-file parser parse empty T lines, since they are used to start a transition. --- src/etc/snapshot.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/etc/snapshot.py b/src/etc/snapshot.py index f5ba2bfe514e..898f4f79e5f9 100644 --- a/src/etc/snapshot.py +++ b/src/etc/snapshot.py @@ -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",