Skip to content

Commit

Permalink
Revert bogus snapshot.py change
Browse files Browse the repository at this point in the history
  • Loading branch information
catamorphism committed Oct 8, 2012
1 parent a33535e commit 5b415c7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/etc/snapshot.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)}
Expand Down

0 comments on commit 5b415c7

Please sign in to comment.