From 2d2781371598a7ebce31c901dd3e0a7e8dc362e3 Mon Sep 17 00:00:00 2001 From: Pino Toscano Date: Mon, 11 Mar 2024 18:56:51 +0100 Subject: [PATCH] chore: drop unused arguments to string.format() Signed-off-by: Pino Toscano --- src/insights_client/__init__.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/insights_client/__init__.py b/src/insights_client/__init__.py index 16d2ab19..49d359b9 100644 --- a/src/insights_client/__init__.py +++ b/src/insights_client/__init__.py @@ -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: