This is an automated email from the ASF dual-hosted git repository.

gabriel pushed a commit to branch python3-vr
in repository https://gitbox.apache.org/repos/asf/cloudstack.git

commit 20288b2e3a77ed0346bfb35066dac3090f31969b
Author: Daan Hoogland <d...@onecht.net>
AuthorDate: Thu Feb 25 15:50:17 2021 +0100

    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 7caf9ee..f9f7931 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)
 

Reply via email to