diff options
author | pavan123k <pavan_123k@yahoo.com> | 2016-02-23 17:05:45 -0800 |
---|---|---|
committer | pavan123k <pavan_123k@yahoo.com> | 2016-02-23 17:05:45 -0800 |
commit | 907fac43a50567368115121d39cfc7f53c29f907 (patch) | |
tree | d13ee9f502e61b3fe7be640e7d4fafbc421b91d1 | |
parent | dc11b97a0f88eb1b4a3a1f66a4b6319bf6fc7225 (diff) | |
download | trollius-git-907fac43a50567368115121d39cfc7f53c29f907.tar.gz |
From(proc.wait()) instead of form proc.wait()
-rw-r--r-- | examples/shell.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/shell.py b/examples/shell.py index 91ba7fb..c78594e 100644 --- a/examples/shell.py +++ b/examples/shell.py @@ -46,7 +46,7 @@ def test_call(*args, **kw): except asyncio.TimeoutError: print("timeout! (%.1f sec)" % timeout) proc.kill() - yield from proc.wait() + yield From(proc.wait()) loop = asyncio.get_event_loop() loop.run_until_complete(cat(loop)) |