summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-07-07 12:04:32 +0000
committerZac Medico <zmedico@gentoo.org>2008-07-07 12:04:32 +0000
commitfe8c3393434c6cae74e8bc842ece886c9839b42f (patch)
tree9298284de6d90a3f470e418bbd7f1d8261633a0f
parent828bb49ecd6ca083a645bb44a0b445d742e622b6 (diff)
downloadportage-fe8c3393434c6cae74e8bc842ece886c9839b42f.tar.gz
portage-fe8c3393434c6cae74e8bc842ece886c9839b42f.tar.bz2
portage-fe8c3393434c6cae74e8bc842ece886c9839b42f.zip
Move the "registered" attribute to the SubProcess class too.
svn path=/main/trunk/; revision=10971
-rw-r--r--pym/_emerge/__init__.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py
index 4c63a6379..8649912ae 100644
--- a/pym/_emerge/__init__.py
+++ b/pym/_emerge/__init__.py
@@ -1653,7 +1653,7 @@ class TaskSequence(CompositeTask):
self.wait()
class SubProcess(AsynchronousTask):
- __slots__ = ("pid", "reg_id", "scheduler")
+ __slots__ = ("pid", "registered", "reg_id", "scheduler")
# A file descriptor is required for the scheduler to monitor changes from
# inside a poll() loop. When logging is not enabled, create a pipe just to
@@ -1712,7 +1712,7 @@ class SpawnProcess(SubProcess):
"uid", "gid", "groups", "umask", "logfile",
"path_lookup", "pre_exec")
- __slots__ = ("args", "files", "registered") + \
+ __slots__ = ("args", "files") + \
_spawn_kwarg_names
_file_names = ("process", "out")
@@ -2161,7 +2161,7 @@ class EbuildPhase(SubProcess):
__slots__ = ("fd_pipes", "phase", "pkg",
"settings", "tree",
- "files", "registered")
+ "files")
_file_names = ("log", "stdout", "ebuild")
_files_dict = slot_dict_class(_file_names, prefix="")