]> git.ipfire.org Git - thirdparty/libcgroup.git/commitdiff
ftests/092: Fix quote warning
authorKamalesh Babulal <kamalesh.babulal@oracle.com>
Sat, 10 Aug 2024 06:23:31 +0000 (11:53 +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/092-sudo-cgroup_attach_thread_tid.py

index ee1ee8450f469b8abba5054a7348109163fbba0f..1ddebb1684a1fd8191e6dd682248e4efc9aa6c39 100755 (executable)
@@ -50,7 +50,7 @@ def setup(config):
 
 def read_cgroup_tasks_file(config, CONTROLLER, CGNAME):
     mnt_path = CgroupCli.get_controller_mount_point(CONTROLLER)
-    path = os.path.join(mnt_path, CGNAME, "tasks")
+    path = os.path.join(mnt_path, CGNAME, 'tasks')
 
     cgrp_pids = [line.strip() for line in open(path, 'r')]
     return cgrp_pids