File tree 2 files changed +7
-6
lines changed
2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -68,7 +68,8 @@ def parse_line(n, line):
68
68
69
69
match = re .match (r"([ST]) (\d{4}-\d{2}-\d{2}) ([a-fA-F\d]+)\s*$" , line );
70
70
if (not match ):
71
- raise Exception ("%s:%d:E syntax error" % (snapshotfile , n ))
71
+ raise Exception ("%s:%d:%s:E syntax error: line = %s"
72
+ % (snapshotfile , n , hash , line ))
72
73
return {"type" : "snapshot" ,
73
74
"date" : match .group (2 ),
74
75
"rev" : match .group (3 )}
Original file line number Diff line number Diff line change 1
1
S 2012-10-07 d301dd3
2
- macos-i386 c9dfce9f231f22969b7e7995c1f39fcf86f81b2b
3
- macos-x86_64 3b1f6fd43fe03d7af334eeb111bc384428c4cd3d
2
+ macos-i386 c9dfce9f231f22969b7e7995c1f39fcf86f81b2b
3
+ macos-x86_64 3b1f6fd43fe03d7af334eeb111bc384428c4cd3d
4
4
freebsd-x86_64 784ac161fee0351281e3edfefc81a0c1b5d068b5
5
- linux-i386 4d945d7e0de4e4544928ed5aa111d1508522c697
6
- linux-x86_64 9bea5436042dd4bb7e682d3a10d0d51c3590b531
7
- winnt-i386 62de5eea3eba70a2f4a2b4d42c72aa2fa75f999a
5
+ linux-i386 4d945d7e0de4e4544928ed5aa111d1508522c697
6
+ linux-x86_64 9bea5436042dd4bb7e682d3a10d0d51c3590b531
7
+ winnt-i386 62de5eea3eba70a2f4a2b4d42c72aa2fa75f999a
8
8
9
9
S 2012-10-05 937f8f4
10
10
macos-i386 8b5ddc78b3004e539c6fbe224e492e4a6a1bc867
You can’t perform that action at this time.
0 commit comments