asyncio: Fix _make_subprocess_transport(): pass extra value to the constructor.

This commit is contained in:
Victor Stinner 2014-01-29 14:32:20 -08:00
parent 48c66c3dd8
commit 73f10fd2f1
2 changed files with 2 additions and 2 deletions

View File

@ -159,7 +159,7 @@ class _UnixSelectorEventLoop(selector_events.BaseSelectorEventLoop):
with events.get_child_watcher() as watcher:
transp = _UnixSubprocessTransport(self, protocol, args, shell,
stdin, stdout, stderr, bufsize,
extra=None, **kwargs)
extra=extra, **kwargs)
yield from transp._post_init()
watcher.add_child_handler(transp.get_pid(),
self._child_watcher_callback, transp)

View File

@ -174,7 +174,7 @@ class ProactorEventLoop(proactor_events.BaseProactorEventLoop):
extra=None, **kwargs):
transp = _WindowsSubprocessTransport(self, protocol, args, shell,
stdin, stdout, stderr, bufsize,
extra=None, **kwargs)
extra=extra, **kwargs)
yield from transp._post_init()
return transp