mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-02-04 11:51:50 +00:00
tools/csv: modify weight
This commit is contained in:
parent
b65cabc67c
commit
8de01511d0
@ -31,6 +31,8 @@ def write_issues(r, csvout):
|
|||||||
severity = l["name"]
|
severity = l["name"]
|
||||||
elif l["name"][:2] in WEIGHTS:
|
elif l["name"][:2] in WEIGHTS:
|
||||||
weight = l["name"][1:]
|
weight = l["name"][1:]
|
||||||
|
if weight == "1/2":
|
||||||
|
weight = "0.5"
|
||||||
else:
|
else:
|
||||||
labels.append(l["name"])
|
labels.append(l["name"])
|
||||||
if not weight:
|
if not weight:
|
||||||
|
Loading…
Reference in New Issue
Block a user