From: Kamalesh Babulal Date: Wed, 23 Feb 2022 06:27:14 +0000 (+0530) Subject: container.py: fix argument list ContainerError::__init__ X-Git-Tag: v3.1.0~308^2~2^2~44 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0914de17e055231d447aec81e8ca23927b2a955b;p=thirdparty%2Flibcgroup.git container.py: fix argument list ContainerError::__init__ Remove the unused argument ret from the ContainerError constructor. The only user of the ContainerError doesn't pass or uses the ret value. Reported-by: LGTM Signed-off-by: Kamalesh Babulal Signed-off-by: Tom Hromatka --- diff --git a/ftests/container.py b/ftests/container.py index 89920d68..f9b899d6 100644 --- a/ftests/container.py +++ b/ftests/container.py @@ -181,7 +181,7 @@ class Container(object): class ContainerError(Exception): - def __init__(self, message, ret): + def __init__(self, message): super(ContainerError, self).__init__(message) def __str__(self):