summaryrefslogtreecommitdiffstats
path: root/ipaserver
diff options
context:
space:
mode:
authorJan Cholasta <jcholast@redhat.com>2013-01-28 14:55:20 +0100
committerMartin Kosek <mkosek@redhat.com>2013-01-29 15:40:05 +0100
commitbb9382cc415dd8ad8dce0b987e2ca7a8d0dad7bc (patch)
tree7da8338829cbeb606f16ed0b9bfe0de8dd2d884d /ipaserver
parent771624bb72af1d0df8aa3cf3c5a71ae28ab590d3 (diff)
downloadfreeipa.git-bb9382cc415dd8ad8dce0b987e2ca7a8d0dad7bc.tar.gz
freeipa.git-bb9382cc415dd8ad8dce0b987e2ca7a8d0dad7bc.tar.xz
freeipa.git-bb9382cc415dd8ad8dce0b987e2ca7a8d0dad7bc.zip
Pylint cleanup.
Add more dynamic attribute info to IPATypeChecker in make-lint. Remove unnecessary pylint comments. Fix false positivies introduced by Pylint 0.26. https://fedorahosted.org/freeipa/ticket/3379
Diffstat (limited to 'ipaserver')
-rw-r--r--ipaserver/install/plugins/updateclient.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ipaserver/install/plugins/updateclient.py b/ipaserver/install/plugins/updateclient.py
index dca2c75d..7da583fd 100644
--- a/ipaserver/install/plugins/updateclient.py
+++ b/ipaserver/install/plugins/updateclient.py
@@ -109,7 +109,7 @@ class updateclient(backend.Executioner):
def order(self, updatetype):
"""Return plugins of the given updatetype in sorted order.
"""
- ordered = [plugin for plugin in api.Updater() # pylint: disable=E1101
+ ordered = [plugin for plugin in api.Updater()
if plugin.updatetype == updatetype]
ordered.sort(key=lambda p: p.order)
return ordered
@@ -143,7 +143,7 @@ class updateclient(backend.Executioner):
"""
Execute the update plugin.
"""
- return self.Updater[method](**kw) #pylint: disable=E1101
+ return self.Updater[method](**kw)
def restart(self, dm_password, live_run):
dsrestart = DSRestart()