Add missing PopenProcess class from last commit.
authorZac Medico <zmedico@gentoo.org>
Tue, 16 Oct 2012 06:51:35 +0000 (23:51 -0700)
committerZac Medico <zmedico@gentoo.org>
Tue, 16 Oct 2012 06:51:35 +0000 (23:51 -0700)
pym/portage/util/_async/PopenProcess.py [new file with mode: 0644]

diff --git a/pym/portage/util/_async/PopenProcess.py b/pym/portage/util/_async/PopenProcess.py
new file mode 100644 (file)
index 0000000..7c42c85
--- /dev/null
@@ -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