diff --git a/daemons/ganeti-rapi b/daemons/ganeti-rapi index 255e038176b32a3c27eca72da9b368c5cf8fd3cb..46393d2392e9b69aaf222ded2083e831cd9691b7 100755 --- a/daemons/ganeti-rapi +++ b/daemons/ganeti-rapi @@ -80,6 +80,8 @@ class RemoteApiHttpServer(http.auth.HttpServerRequestAuthentication, AUTH_REALM = "Ganeti Remote API" def __init__(self, *args, **kwargs): + # pylint: disable-msg=W0233 + # it seems pylint doesn't see the second parent class there http.server.HttpServer.__init__(self, *args, **kwargs) http.auth.HttpServerRequestAuthentication.__init__(self) self._resmap = connector.Mapper() @@ -207,6 +209,8 @@ def ExecRapi(options, _): server = RemoteApiHttpServer(mainloop, options.bind_address, options.port, ssl_params=ssl_params, ssl_verify_peer=False, request_executor_class=JsonErrorRequestExecutor) + # pylint: disable-msg=E1101 + # it seems pylint doesn't see the second parent class there server.Start() try: mainloop.Run()