mirror of
https://github.com/AsahiLinux/m1n1
synced 2025-02-16 21:58:27 +00:00
m1n1.utils: Fix chexundump exception
Signed-off-by: Martin Povišer <povik@protonmail.com>
This commit is contained in:
parent
9a23d55b83
commit
f83af93c05
1 changed files with 1 additions and 1 deletions
|
@ -123,7 +123,7 @@ def chexundump(dump):
|
|||
decoded.extend([int(data[i:i+2], 16) for i \
|
||||
in range(0, len(data), 2)])
|
||||
except (ValueError, TypeError) as exc:
|
||||
raise ValueError("can't decode line: %s", line) from exc
|
||||
raise ValueError(f"can't decode line: {line:r}") from exc
|
||||
|
||||
return decoded
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue