mirror of
https://github.com/mhx/dwarfs.git
synced 2025-08-04 10:16:34 -04:00
Fix useless use of f-string
This commit is contained in:
parent
1d96ef6d8f
commit
7fe0f8c979
@ -50,7 +50,7 @@ with open(image, "rb") as image:
|
|||||||
"<6sBB32s8sLHHQ", header
|
"<6sBB32s8sLHHQ", header
|
||||||
)
|
)
|
||||||
if ident != b"DWARFS":
|
if ident != b"DWARFS":
|
||||||
print(f"error: expected dwarfs header")
|
print("error: expected dwarfs header")
|
||||||
raise SystemExit(1)
|
raise SystemExit(1)
|
||||||
if sectype not in sectypes:
|
if sectype not in sectypes:
|
||||||
print(f"error: unexpected section type ({sectype})")
|
print(f"error: unexpected section type ({sectype})")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user