From: Kamalesh Babulal Date: Wed, 16 Oct 2024 09:11:32 +0000 (+0530) Subject: ftests/cgroup: Fix typo in CgroupMount::__init__ X-Git-Tag: v3.2.0~37 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b7bf19fbfda391441d71f9d05ce21f63dea209dc;p=thirdparty%2Flibcgroup.git ftests/cgroup: Fix typo in CgroupMount::__init__ Fix the typo of '==' (comparison) to '=' assignment in CgroupMount::__init__. Fixes: 52b196c2f4f3c ("ftests/cgroup: Add support for favordynmods") Signed-off-by: Kamalesh Babulal Signed-off-by: Tom Hromatka --- diff --git a/tests/ftests/cgroup.py b/tests/ftests/cgroup.py index 828e7e3a..ba33d108 100644 --- a/tests/ftests/cgroup.py +++ b/tests/ftests/cgroup.py @@ -43,7 +43,7 @@ class CgroupMount(object): # cgroup v1 will append mount points with favordynmods, # remove it. if self.controller == 'favordynmods': - self.controller == entries[3].split(',')[-2] + self.controller = entries[3].split(',')[-2] if self.controller == 'clone_children': # the cpuset controller may append this option to the end