]> git.ipfire.org Git - thirdparty/libcgroup.git/commitdiff
ftests/cgroup: Fix flake8 warning
authorKamalesh Babulal <kamalesh.babulal@oracle.com>
Thu, 30 May 2024 15:46:06 +0000 (21:16 +0530)
committerTom Hromatka <tom.hromatka@oracle.com>
Fri, 31 May 2024 21:35:27 +0000 (15:35 -0600)
Fix pythonlint (flake8) warning:
tests/ftests/cgroup.py:630:22: E275 missing whitespace after keyword

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

index cbee1f9654b71e730bc5f64702f2e000659f2595..7a73fa6ecc69ff18adb15dee65866a40d5e2557e 100644 (file)
@@ -627,7 +627,7 @@ class Cgroup(object):
             elif re.ret == 0 and 'ERROR: can\'t get' in re.stderr:
                 res = re.stdout
             else:
-                raise(re)
+                raise (re)
 
         # convert the cgsnapshot stdout to a dict of cgroup objects
         return Cgroup.snapshot_to_dict(res)