Update key frequency table
This commit is contained in:
parent
86d12abcaf
commit
f65cb6842e
@ -24,9 +24,6 @@ for stage in (BASE, HEAD, MERGE_HEAD):
|
|||||||
|
|
||||||
outputs[stage] = {}
|
outputs[stage] = {}
|
||||||
|
|
||||||
if b'"' in output:
|
|
||||||
raise ValueError(f'There is a " in the output of stage {stage}')
|
|
||||||
|
|
||||||
output = output.decode('utf-8')[1:-1].split('\n')
|
output = output.decode('utf-8')[1:-1].split('\n')
|
||||||
|
|
||||||
for line in output:
|
for line in output:
|
||||||
@ -35,6 +32,9 @@ for stage in (BASE, HEAD, MERGE_HEAD):
|
|||||||
if not line:
|
if not line:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
if '"' in line:
|
||||||
|
continue
|
||||||
|
|
||||||
m = re.match(r'^\(\(([^) ]+) .\ ([^) ]+)\) \. ([0-9]+)\)$', line)
|
m = re.match(r'^\(\(([^) ]+) .\ ([^) ]+)\) \. ([0-9]+)\)$', line)
|
||||||
|
|
||||||
if not m:
|
if not m:
|
||||||
|
Loading…
Reference in New Issue
Block a user