1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-13 19:18:56 +00:00

tools/csv: modify weight

This commit is contained in:
Tomas Susanka 2019-08-21 16:09:13 +02:00
parent b65cabc67c
commit 8de01511d0

View File

@ -31,6 +31,8 @@ def write_issues(r, csvout):
severity = l["name"]
elif l["name"][:2] in WEIGHTS:
weight = l["name"][1:]
if weight == "1/2":
weight = "0.5"
else:
labels.append(l["name"])
if not weight: