From: Kamalesh Babulal Date: Wed, 7 Aug 2024 11:03:24 +0000 (+0530) Subject: ftests/run: Fix quote warning X-Git-Tag: v3.2.0~56 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=00950e8e2da4aae17b676b7b861e1111854f101b;p=thirdparty%2Flibcgroup.git ftests/run: Fix quote warning Fix "Q003 Change outer quotes to avoid escaping inner quotes" warning. Signed-off-by: Kamalesh Babulal Signed-off-by: Tom Hromatka --- diff --git a/tests/ftests/run.py b/tests/ftests/run.py index 83a277a1..deddde17 100644 --- a/tests/ftests/run.py +++ b/tests/ftests/run.py @@ -78,7 +78,7 @@ class Run(object): if err.find('Error: websocket: bad handshake') >= 0: # LXD sometimes throws this error on underpowered machines. # Wait a bit, then try the request again - Log.log_critical('Received \'{}\' error. Re-running command'.format(err)) + Log.log_critical("Received '{}' error. Re-running command".format(err)) time.sleep(5) ret, out, err = Run.__run(command, shell_bool, timeout)