]> git.ipfire.org Git - thirdparty/libcgroup.git/commitdiff
ftests/076: Fix quote warning
authorKamalesh Babulal <kamalesh.babulal@oracle.com>
Mon, 24 Jun 2024 07:54:37 +0000 (13:24 +0530)
committerTom Hromatka <tom.hromatka@oracle.com>
Tue, 20 Aug 2024 20:42:50 +0000 (14:42 -0600)
Fix "Q001 Single quote multiline found but double quotes preferred"
warning.

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

index 751feb2684ac0e26f1976e0de1d7f93c7a25aed5..a3486c94eb53ec719909b5fca9a94a85d9901be4 100755 (executable)
@@ -24,7 +24,7 @@ CGNAME_V2 = '076cgconfig_v2'
 CFS_MAX = '"max 100000"'
 CPU_WEIGHT = '50'
 
-CONFIG_FILE = '''
+CONFIG_FILE = """
 group {} {{
     {} {{
         cpu.cfs_period_us = {};
@@ -37,7 +37,7 @@ group {} {{
         cpu.max = {};
         cpu.weight = {};
     }}
-}}'''.format(
+}}""".format(
                 CGNAME_V1, CONTROLLER, CFS_PERIOD, CFS_QUOTA, CPU_SHARES,
                 CGNAME_V2, CONTROLLER, CFS_MAX, CPU_WEIGHT
             )