Revert bogus snapshot.py change
This commit is contained in:
parent
a33535e441
commit
5b415c7372
@ -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);
|
match = re.match(r"([ST]) (\d{4}-\d{2}-\d{2}) ([a-fA-F\d]+)\s*$", line);
|
||||||
if (not match):
|
if (not match):
|
||||||
raise Exception("%s:%d:%s:E syntax error: line = %s"
|
raise Exception("%s:%d:E syntax error: " % (snapshotfile, n))
|
||||||
% (snapshotfile, n, hash, line))
|
|
||||||
return {"type": "snapshot",
|
return {"type": "snapshot",
|
||||||
"date": match.group(2),
|
"date": match.group(2),
|
||||||
"rev": match.group(3)}
|
"rev": match.group(3)}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user