mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Disable pylint in get_help function because of type confusion.
Reviewed-By: David Kupka <dkupka@redhat.com> Reviewed-By: Martin Babinsky <mbabinsk@redhat.com>
This commit is contained in:
parent
d5bb541061
commit
bf0ba9b36e
@ -516,7 +516,9 @@ class Schema(object):
|
||||
|
||||
def get_help(self, namespace, member):
|
||||
if isinstance(self._help, bytes):
|
||||
self._help = json.loads(self._help.decode('utf-8'))
|
||||
self._help = json.loads(
|
||||
self._help.decode('utf-8') # pylint: disable=no-member
|
||||
)
|
||||
|
||||
return self._help[namespace][member]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user