pylint: disable unnecessary-dunder-call message

Related: https://pagure.io/freeipa/issue/9278

Signed-off-by: Florence Blanc-Renaud <flo@redhat.com>
Reviewed-By: Stanislav Levin <slev@altlinux.org>
This commit is contained in:
Florence Blanc-Renaud 2022-11-21 15:30:02 +01:00
parent d6d8319ece
commit 0268857483

View File

@ -692,9 +692,11 @@ class CIDict(dict):
self.update(dict(new))
else:
for key in keys():
# pylint: disable=unnecessary-dunder-call
self.__setitem__(key, new[key], seen)
seen = set()
for key, value in kwargs.items():
# pylint: disable=unnecessary-dunder-call
self.__setitem__(key, value, seen)
def __contains__(self, key):