]> git.ipfire.org Git - thirdparty/libcgroup.git/commitdiff
ftests/run: Fix quote warning
authorKamalesh Babulal <kamalesh.babulal@oracle.com>
Wed, 7 Aug 2024 11:03:24 +0000 (16:33 +0530)
committerTom Hromatka <tom.hromatka@oracle.com>
Tue, 20 Aug 2024 20:42:50 +0000 (14:42 -0600)
Fix "Q003 Change outer quotes to avoid escaping inner quotes" warning.

Signed-off-by: Kamalesh Babulal <kamalesh.babulal@oracle.com>
Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com>
tests/ftests/run.py

index 83a277a16f093650ca5c89a8870b4cd3022143ba..deddde17b5ac2d120c78da6a32ba2c7a95b85564 100644 (file)
@@ -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)