summaryrefslogtreecommitdiffstats
path: root/pym/portage/util
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2012-10-15 23:51:35 -0700
committerZac Medico <zmedico@gentoo.org>2012-10-15 23:51:35 -0700
commiteeef84317758b01ae2c1ba8f343343179aebc01e (patch)
tree56b6c1a19cc80a663ceedf9a391dbcf377646ca6 /pym/portage/util
parent84ea673c632dea0bc9af61c371f71ca86cc19e1a (diff)
downloadportage-eeef84317758b01ae2c1ba8f343343179aebc01e.tar.gz
portage-eeef84317758b01ae2c1ba8f343343179aebc01e.tar.bz2
portage-eeef84317758b01ae2c1ba8f343343179aebc01e.zip
Add missing PopenProcess class from last commit.
Diffstat (limited to 'pym/portage/util')
-rw-r--r--pym/portage/util/_async/PopenProcess.py15
1 files changed, 15 insertions, 0 deletions
diff --git a/pym/portage/util/_async/PopenProcess.py b/pym/portage/util/_async/PopenProcess.py
new file mode 100644
index 000000000..7c42c85b3
--- /dev/null
+++ b/pym/portage/util/_async/PopenProcess.py
@@ -0,0 +1,15 @@
+# Copyright 2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+from _emerge.SubProcess import SubProcess
+
+class PopenProcess(SubProcess):
+
+ __slots__ = ("proc",)
+
+ def __init__(self, **kwargs):
+ SubProcess.__init__(self, **kwargs)
+ self.pid = self.proc.pid
+
+ def _start(self):
+ pass