mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-17 07:15:46 +00:00
Bug 1712994 - Remove block argument from wptserve consumers, r=whimboo,marionette-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D116104
This commit is contained in:
parent
77a16b1cc6
commit
d9d050317e
@ -123,10 +123,10 @@ class FixtureServer(object):
|
||||
key_file=ssl_key,
|
||||
)
|
||||
|
||||
def start(self, block=False):
|
||||
def start(self):
|
||||
if self.is_alive:
|
||||
return
|
||||
self._httpd.start(block=block)
|
||||
self._httpd.start()
|
||||
|
||||
def wait(self):
|
||||
if not self.is_alive:
|
||||
|
@ -75,7 +75,7 @@ class ServerProxy(multiprocessing.Process, BlockingChannel):
|
||||
def run(self):
|
||||
try:
|
||||
server = self.init_func(*self.init_args, **self.init_kwargs)
|
||||
server.start(block=False)
|
||||
server.start()
|
||||
self.send(("ok", ()))
|
||||
|
||||
while True:
|
||||
|
Loading…
Reference in New Issue
Block a user