summary refs log tree commit diff
path: root/src/etc
diff options
context:
space:
mode:
authorGraydon Hoare <graydon@mozilla.com>2011-05-16 15:14:44 -0700
committerGraydon Hoare <graydon@mozilla.com>2011-05-16 15:14:44 -0700
commitd577f5bdf98b29259c1f2484fa56017d5710d203 (patch)
tree66814273277338d9224b0e597b13db0bd49e34fa /src/etc
parent3ea3d9eed6d110c3ac9707c9fce77f5727a7540d (diff)
downloadrust-d577f5bdf98b29259c1f2484fa56017d5710d203.tar.gz
rust-d577f5bdf98b29259c1f2484fa56017d5710d203.zip
Let the snapshot-file parser parse empty T lines, since they are used to start a transition.
Diffstat (limited to 'src/etc')
-rw-r--r--src/etc/snapshot.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/etc/snapshot.py b/src/etc/snapshot.py
index f5ba2bfe514..898f4f79e5f 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",