1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-22 22:38:08 +00:00

python: style

This commit is contained in:
Tomas Susanka 2020-05-05 07:05:53 +00:00
parent e900173b9c
commit 15e33b42c0

View File

@ -74,9 +74,7 @@ def validate_firmware(version, fw, expected_fingerprint=None):
fingerprint_onev2 = firmware.digest(
firmware.FirmwareFormat.TREZOR_ONE_V2, fw.embedded_onev2
).hex()
click.echo(
"Embedded v2 image fingerprint: {}".format(fingerprint_onev2)
)
click.echo("Embedded v2 image fingerprint: {}".format(fingerprint_onev2))
if expected_fingerprint and fingerprint != expected_fingerprint:
click.echo("Expected fingerprint: {}".format(expected_fingerprint))
click.echo("Fingerprints do not match, aborting.")