Revert bogus snapshot.py change

This commit is contained in:
Tim Chevalier 2012-10-08 11:59:51 -07:00
parent a33535e441
commit 5b415c7372

View File

@ -68,8 +68,7 @@ def parse_line(n, line):
match = re.match(r"([ST]) (\d{4}-\d{2}-\d{2}) ([a-fA-F\d]+)\s*$", line);
if (not match):
raise Exception("%s:%d:%s:E syntax error: line = %s"
% (snapshotfile, n, hash, line))
raise Exception("%s:%d:E syntax error: " % (snapshotfile, n))
return {"type": "snapshot",
"date": match.group(2),
"rev": match.group(3)}