summaryrefslogtreecommitdiffstats
path: root/ipatests/test_xmlrpc
diff options
context:
space:
mode:
authorJan Barta <55042barta@sstebrno.eu>2016-06-03 10:05:34 +0200
committerMartin Basti <mbasti@redhat.com>2016-09-22 16:52:57 +0200
commit275e85d076607ce317b3aeca467167fac55bf396 (patch)
treee19911efa0b3eb7d131dba979836b6ae610f829f /ipatests/test_xmlrpc
parent36484e8672f5ee1fdc2bd57622e330ab8dbb7671 (diff)
downloadfreeipa-275e85d076607ce317b3aeca467167fac55bf396.tar.gz
freeipa-275e85d076607ce317b3aeca467167fac55bf396.tar.xz
freeipa-275e85d076607ce317b3aeca467167fac55bf396.zip
pylint: fix unneeded-not
Reviewed-By: Tomas Krizek <tkrizek@redhat.com> Reviewed-By: Florence Blanc-Renaud <frenaud@redhat.com>
Diffstat (limited to 'ipatests/test_xmlrpc')
-rw-r--r--ipatests/test_xmlrpc/tracker/user_plugin.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipatests/test_xmlrpc/tracker/user_plugin.py b/ipatests/test_xmlrpc/tracker/user_plugin.py
index b55deb9f3..6bc0ce19c 100644
--- a/ipatests/test_xmlrpc/tracker/user_plugin.py
+++ b/ipatests/test_xmlrpc/tracker/user_plugin.py
@@ -172,7 +172,7 @@ class UserTracker(KerberosAliasMixin, Tracker):
self.api.env.realm)
)]
else:
- if not type(self.kwargs[key]) is list:
+ if type(self.kwargs[key]) is not list:
self.attrs[key] = [self.kwargs[key]]
else:
self.attrs[key] = self.kwargs[key]