forked from Mirror/pmbootstrap
pmb.helpers.run_core: Remove unnecessary str(...) (MR 2525)
Integers automatically get converted to strings when used in f-strings like this, so just get rid of this explicit conversion.
This commit is contained in:
parent
c2787aa76f
commit
5d707e154c
1 changed files with 1 additions and 1 deletions
|
@ -313,7 +313,7 @@ def check_return_code(code: int, log_message: str) -> None:
|
|||
"NOTE: The failed command's output is above the ^^^ line"
|
||||
f" in the log file: {log_file}"
|
||||
)
|
||||
raise RuntimeError(f"Command failed (exit code {str(code)}): " + log_message)
|
||||
raise RuntimeError(f"Command failed (exit code {code}): " + log_message)
|
||||
|
||||
|
||||
def sudo_timer_iterate() -> None:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue