From df9933a8cbc5c6cf4041709ed61c589adaae7a08 Mon Sep 17 00:00:00 2001
From: David Kreitschmann <david@kreitschmann.de>
Date: Fri, 9 Jun 2017 17:59:35 +0200
Subject: [PATCH] Disable pylint in get_help function because of type
confusion.
Reviewed-By: David Kupka <dkupka@redhat.com>
Reviewed-By: Martin Babinsky <mbabinsk@redhat.com>
Reviewed-By: David Kupka <dkupka@redhat.com>
Reviewed-By: Martin Babinsky <mbabinsk@redhat.com>
Reviewed-By: Rob Crittenden <rcritten@redhat.com>
---
ipaclient/remote_plugins/schema.py | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/ipaclient/remote_plugins/schema.py b/ipaclient/remote_plugins/schema.py
index 9b6668d26352a24d7249bac5e304277563ee450f..2892ab9ec7c6fb092ef470b7e5bd2b9c0760c2af 100644
--- a/ipaclient/remote_plugins/schema.py
+++ b/ipaclient/remote_plugins/schema.py
@@ -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]
--
2.13.5