diff options
Diffstat (limited to 'ipaserver/install/plugins/updateclient.py')
-rw-r--r-- | ipaserver/install/plugins/updateclient.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ipaserver/install/plugins/updateclient.py b/ipaserver/install/plugins/updateclient.py index dca2c75dd..7da583fd8 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() |