Merge pull request #9 from pavan123k/patch-1
From(proc.wait()) instead of form proc.wait()
This commit is contained in:
@@ -46,7 +46,7 @@ def test_call(*args, **kw):
|
|||||||
except asyncio.TimeoutError:
|
except asyncio.TimeoutError:
|
||||||
print("timeout! (%.1f sec)" % timeout)
|
print("timeout! (%.1f sec)" % timeout)
|
||||||
proc.kill()
|
proc.kill()
|
||||||
yield from proc.wait()
|
yield From(proc.wait())
|
||||||
|
|
||||||
loop = asyncio.get_event_loop()
|
loop = asyncio.get_event_loop()
|
||||||
loop.run_until_complete(cat(loop))
|
loop.run_until_complete(cat(loop))
|
||||||
|
|||||||
Reference in New Issue
Block a user