From fe8c3393434c6cae74e8bc842ece886c9839b42f Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Mon, 7 Jul 2008 12:04:32 +0000 Subject: Move the "registered" attribute to the SubProcess class too. svn path=/main/trunk/; revision=10971 --- pym/_emerge/__init__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'pym') 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="") -- cgit v1.2.3-1-g7c22