From 86ffc1e88ef6062909188868a347ef4f453389f5 Mon Sep 17 00:00:00 2001 From: Daan Hoogland Date: Thu, 25 Feb 2021 15:50:17 +0100 Subject: [PATCH] str f'ormat' --- systemvm/debian/opt/cloud/bin/cs/CsRedundant.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/systemvm/debian/opt/cloud/bin/cs/CsRedundant.py b/systemvm/debian/opt/cloud/bin/cs/CsRedundant.py index 7caf9eec348..f9f79318beb 100755 --- a/systemvm/debian/opt/cloud/bin/cs/CsRedundant.py +++ b/systemvm/debian/opt/cloud/bin/cs/CsRedundant.py @@ -225,7 +225,7 @@ class CsRedundant(object): except socket.error as e: error_code = e.args[0] error_string = e.args[1] - print("Process already running (%d:%s). Exiting" % (error_code, error_string)) + print(f"Process already running ({error_code}:{error_string}). Exiting") logging.info("Master is already running, waiting") sleep(time_between)