Skip to content

Commit

Permalink
chore: drop unused arguments to string.format()
Browse files Browse the repository at this point in the history
Signed-off-by: Pino Toscano <ptoscano@redhat.com>
  • Loading branch information
ptoscano authored and m-horky committed Mar 13, 2024
1 parent a454720 commit 2d27813
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/insights_client/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -241,15 +241,13 @@ def run_phase(phase, client, validated_eggs):
stdout, stderr = process.communicate()
if process.returncode == 0:
# phase successful, don't try another egg
client_debug(
"phase '{phase}' successful".format(egg=egg, phase=phase["name"])
)
client_debug("phase '{phase}' successful".format(phase=phase["name"]))
update_motd_message()
return

client_debug(
"phase '{phase}' failed with return code {rc}".format(
egg=egg, phase=phase["name"], rc=process.returncode
phase=phase["name"], rc=process.returncode
)
)
if process.returncode == 1:
Expand Down

0 comments on commit 2d27813

Please sign in to comment.