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:
Stanislav Levin 2021-08-02 14:09:58 +03:00 committed by Rob Crittenden
parent 21c3dff6a1
commit d991245a29

View File

@ -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.