asyncio: Truncate to 80 columns

This commit is contained in:
Victor Stinner 2015-01-09 00:09:10 +01:00
parent 8d9c145f61
commit 15cc678d89
12 changed files with 60 additions and 33 deletions

View file

@ -613,8 +613,10 @@ os.close(fd)
watcher.attach_loop(self.loop)
try:
asyncio.set_child_watcher(watcher)
proc = self.loop.run_until_complete(
asyncio.create_subprocess_exec(*args, pass_fds={wfd}, loop=self.loop))
create = asyncio.create_subprocess_exec(*args,
pass_fds={wfd},
loop=self.loop)
proc = self.loop.run_until_complete(create)
self.loop.run_until_complete(proc.wait())
finally:
asyncio.set_child_watcher(None)