aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/portage/util/_async/PopenProcess.py')
-rw-r--r--lib/portage/util/_async/PopenProcess.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/portage/util/_async/PopenProcess.py b/lib/portage/util/_async/PopenProcess.py
index 25afad0f4..a0e532e27 100644
--- a/lib/portage/util/_async/PopenProcess.py
+++ b/lib/portage/util/_async/PopenProcess.py
@@ -1,19 +1,18 @@
-# Copyright 2012-2021 Gentoo Authors
+# Copyright 2012-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
+import portage
from _emerge.SubProcess import SubProcess
class PopenProcess(SubProcess):
-
__slots__ = (
"pipe_reader",
"proc",
)
def _start(self):
-
- self.pid = self.proc.pid
+ self._proc = portage.process.Process(self.proc.pid)
self._registered = True
if self.pipe_reader is None: