From: Zac Medico Date: Mon, 7 Jul 2008 12:04:32 +0000 (-0000) Subject: Move the "registered" attribute to the SubProcess class too. X-Git-Tag: v2.2_rc2~169 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=fe8c3393434c6cae74e8bc842ece886c9839b42f;p=portage.git Move the "registered" attribute to the SubProcess class too. svn path=/main/trunk/; revision=10971 --- 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="")