From bffde84c813ddd45ec7971c96c74c2e5b54e3d72 Mon Sep 17 00:00:00 2001 From: Stanislav Levin Date: Fri, 18 Feb 2022 18:54:23 +0300 Subject: [PATCH] pylint: Skip unused-private-member for unsupported cases > This mangling is done without regard to the syntactic position of the identifier, as long as it occurs within the definition of a class. `__set_attr` is called for instance of the class within its classmethod. Fixes: https://pagure.io/freeipa/issue/9117 Signed-off-by: Stanislav Levin Reviewed-By: Rob Crittenden --- ipapython/cookie.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ipapython/cookie.py b/ipapython/cookie.py index b6964504d..15123122f 100644 --- a/ipapython/cookie.py +++ b/ipapython/cookie.py @@ -444,7 +444,7 @@ class Cookie: except Exception: raise ValueError("Max-Age value '%s' not convertable to integer" % value) - def __set_attr(self, name, value): + def __set_attr(self, name, value): # pylint: disable=unused-private-member ''' Sets one of the predefined cookie attributes. '''