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 authored and Martin Babinsky committed 2017-06-15 09:12:19 +02:00
1 parent d5bb541061
commit bf0ba9b36e
1 file changed
+3 -1
+3 -1
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]