Format for toolchain 37, update changelog

This commit is contained in:
Willy-JL
2024-07-05 20:07:11 +02:00
parent 4830ef94c6
commit 0f4f844ff1
15 changed files with 52 additions and 46 deletions

View File

@@ -14,11 +14,11 @@ def padded_hex(i, l):
return (
"0x" + hex_result
if num_hex_chars == given_len
else "?" * given_len
if num_hex_chars > given_len
else "0x" + extra_zeros + hex_result
if num_hex_chars < given_len
else None
else (
"?" * given_len
if num_hex_chars > given_len
else "0x" + extra_zeros + hex_result if num_hex_chars < given_len else None
)
)