]> git.ipfire.org Git - thirdparty/libcgroup.git/commitdiff
ftests/038: Fix quote warning
authorKamalesh Babulal <kamalesh.babulal@oracle.com>
Tue, 23 Jul 2024 10:42:13 +0000 (16:12 +0530)
committerTom Hromatka <tom.hromatka@oracle.com>
Tue, 20 Aug 2024 20:42:50 +0000 (14:42 -0600)
Fix "Q000 Double quotes found but single quotes preferred" warning.

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

index 575baf3b50d94e628c4c848a473e067214579912..b2c8800531cc4e46b921e197e3bcb49ef4b07a43 100755 (executable)
@@ -93,7 +93,7 @@ def is_cpuset_exclusive_oddity(entry, out):
     # partition reason string"), doesn't return error but needs to be
     # read again
     if (entry[0] == 'cpuset.cpu_exclusive' and entry[1] == '1' and
-            (out == '0' or out[:12] == "root invalid")):
+            (out == '0' or out[:12] == 'root invalid')):
         return True
 
     if (entry[0] == 'cpuset.cpus.partition' and entry[1] == 'root' and