diff options
Diffstat (limited to 'bitbake/lib/hashserv')
-rw-r--r-- | bitbake/lib/hashserv/server.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/hashserv/server.py b/bitbake/lib/hashserv/server.py index 8e84989737..a059e52115 100644 --- a/bitbake/lib/hashserv/server.py +++ b/bitbake/lib/hashserv/server.py | |||
@@ -410,11 +410,11 @@ class ServerClient(bb.asyncrpc.AsyncServerConnection): | |||
410 | 410 | ||
411 | 411 | ||
412 | class Server(bb.asyncrpc.AsyncServer): | 412 | class Server(bb.asyncrpc.AsyncServer): |
413 | def __init__(self, db, loop=None, upstream=None, read_only=False): | 413 | def __init__(self, db, upstream=None, read_only=False): |
414 | if upstream and read_only: | 414 | if upstream and read_only: |
415 | raise bb.asyncrpc.ServerError("Read-only hashserv cannot pull from an upstream server") | 415 | raise bb.asyncrpc.ServerError("Read-only hashserv cannot pull from an upstream server") |
416 | 416 | ||
417 | super().__init__(logger, loop) | 417 | super().__init__(logger) |
418 | 418 | ||
419 | self.request_stats = Stats() | 419 | self.request_stats = Stats() |
420 | self.db = db | 420 | self.db = db |