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:
David Kreitschmann 2017-06-09 17:59:35 +02:00 committed by Martin Babinsky
parent d5bb541061
commit bf0ba9b36e

View File

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