mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-23 07:33:27 -06:00
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 <slev@altlinux.org>
Reviewed-By: Rob Crittenden <rcritten@redhat.com>
This commit is contained in:
parent
21c3dff6a1
commit
d991245a29
@ -693,11 +693,6 @@ class Command(HasParam):
|
|||||||
(k, self.params[k].convert(v)) for (k, v) in kw.items()
|
(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):
|
def get_default(self, _params=None, **kw):
|
||||||
"""
|
"""
|
||||||
Return a dictionary of defaults for all missing required values.
|
Return a dictionary of defaults for all missing required values.
|
||||||
|
Loading…
Reference in New Issue
Block a user