Skip to content

Commit 2ced867

Browse files
author
Daan Hoogland
committed
str f'ormat'
1 parent a65de5d commit 2ced867

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

systemvm/debian/opt/cloud/bin/cs/CsRedundant.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ def set_lock(self):
225225
except socket.error as e:
226226
error_code = e.args[0]
227227
error_string = e.args[1]
228-
print("Process already running (%d:%s). Exiting" % (error_code, error_string))
228+
print(f"Process already running ({error_code}:{error_string}). Exiting")
229229
logging.info("Master is already running, waiting")
230230
sleep(time_between)
231231

0 commit comments

Comments
 (0)