summaryrefslogtreecommitdiffstats
path: root/Lib/asyncio/subprocess.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/asyncio/subprocess.py')
-rw-r--r--Lib/asyncio/subprocess.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/asyncio/subprocess.py b/Lib/asyncio/subprocess.py
index 06c7d4f..4c85466 100644
--- a/Lib/asyncio/subprocess.py
+++ b/Lib/asyncio/subprocess.py
@@ -89,7 +89,7 @@ class SubprocessStreamProtocol(streams.FlowControlMixin,
reader.feed_eof()
else:
reader.set_exception(exc)
-
+
if fd in self._pipe_fds:
self._pipe_fds.remove(fd)
self._maybe_close_transport()
@@ -97,7 +97,7 @@ class SubprocessStreamProtocol(streams.FlowControlMixin,
def process_exited(self):
self._process_exited = True
self._maybe_close_transport()
-
+
def _maybe_close_transport(self):
if len(self._pipe_fds) == 0 and self._process_exited:
self._transport.close()