From d991245a29a67c9cad1a5f9e646e47394c1de191 Mon Sep 17 00:00:00 2001 From: Stanislav Levin Date: Mon, 2 Aug 2021 14:09:58 +0300 Subject: [PATCH] pylint: Remove unused __convert_iter __convert_iter was added in 24b6cb89d, but it was never used. Found by Pylint: ``` ipalib/frontend.py:696: [W0238(unused-private-member), Command.__convert_iter] Unused private member `Command.__convert_iter(self, kw)`) ``` Fixes: https://pagure.io/freeipa/issue/9117 Signed-off-by: Stanislav Levin Reviewed-By: Rob Crittenden --- ipalib/frontend.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/ipalib/frontend.py b/ipalib/frontend.py index 7fcac57b9..519c3290c 100644 --- a/ipalib/frontend.py +++ b/ipalib/frontend.py @@ -693,11 +693,6 @@ class Command(HasParam): (k, self.params[k].convert(v)) for (k, v) in kw.items() ) - def __convert_iter(self, kw): - for param in self.params(): - if kw.get(param.name, None) is None: - continue - def get_default(self, _params=None, **kw): """ Return a dictionary of defaults for all missing required values.