diff options
author | Zac Medico <zmedico@gentoo.org> | 2012-10-15 23:51:35 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2012-10-15 23:51:35 -0700 |
commit | eeef84317758b01ae2c1ba8f343343179aebc01e (patch) | |
tree | 56b6c1a19cc80a663ceedf9a391dbcf377646ca6 | |
parent | 84ea673c632dea0bc9af61c371f71ca86cc19e1a (diff) | |
download | portage-eeef84317758b01ae2c1ba8f343343179aebc01e.tar.gz portage-eeef84317758b01ae2c1ba8f343343179aebc01e.tar.bz2 portage-eeef84317758b01ae2c1ba8f343343179aebc01e.zip |
Add missing PopenProcess class from last commit.
-rw-r--r-- | pym/portage/util/_async/PopenProcess.py | 15 |
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 |