diff options
Diffstat (limited to 'bitbake/lib/hashserv/server.py')
-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 81050715ea..56f354bd06 100644 --- a/bitbake/lib/hashserv/server.py +++ b/bitbake/lib/hashserv/server.py | |||
@@ -420,7 +420,7 @@ class Server(object): | |||
420 | 420 | ||
421 | def start_tcp_server(self, host, port): | 421 | def start_tcp_server(self, host, port): |
422 | self.server = self.loop.run_until_complete( | 422 | self.server = self.loop.run_until_complete( |
423 | asyncio.start_server(self.handle_client, host, port, loop=self.loop) | 423 | asyncio.start_server(self.handle_client, host, port) |
424 | ) | 424 | ) |
425 | 425 | ||
426 | for s in self.server.sockets: | 426 | for s in self.server.sockets: |
@@ -445,7 +445,7 @@ class Server(object): | |||
445 | # Work around path length limits in AF_UNIX | 445 | # Work around path length limits in AF_UNIX |
446 | os.chdir(os.path.dirname(path)) | 446 | os.chdir(os.path.dirname(path)) |
447 | self.server = self.loop.run_until_complete( | 447 | self.server = self.loop.run_until_complete( |
448 | asyncio.start_unix_server(self.handle_client, os.path.basename(path), loop=self.loop) | 448 | asyncio.start_unix_server(self.handle_client, os.path.basename(path)) |
449 | ) | 449 | ) |
450 | finally: | 450 | finally: |
451 | os.chdir(cwd) | 451 | os.chdir(cwd) |