Revision 71d23b33 daemons/ganeti-rapi
b/daemons/ganeti-rapi | ||
---|---|---|
80 | 80 |
AUTH_REALM = "Ganeti Remote API" |
81 | 81 |
|
82 | 82 |
def __init__(self, *args, **kwargs): |
83 |
# pylint: disable-msg=W0233 |
|
84 |
# it seems pylint doesn't see the second parent class there |
|
83 | 85 |
http.server.HttpServer.__init__(self, *args, **kwargs) |
84 | 86 |
http.auth.HttpServerRequestAuthentication.__init__(self) |
85 | 87 |
self._resmap = connector.Mapper() |
... | ... | |
207 | 209 |
server = RemoteApiHttpServer(mainloop, options.bind_address, options.port, |
208 | 210 |
ssl_params=ssl_params, ssl_verify_peer=False, |
209 | 211 |
request_executor_class=JsonErrorRequestExecutor) |
212 |
# pylint: disable-msg=E1101 |
|
213 |
# it seems pylint doesn't see the second parent class there |
|
210 | 214 |
server.Start() |
211 | 215 |
try: |
212 | 216 |
mainloop.Run() |
Also available in: Unified diff