diff options
-rw-r--r-- | pym/_emerge/AbstractEbuildProcess.py | 8 | ||||
-rw-r--r-- | pym/_emerge/SubProcess.py | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/pym/_emerge/AbstractEbuildProcess.py b/pym/_emerge/AbstractEbuildProcess.py index 991e2499d..57f4c8f87 100644 --- a/pym/_emerge/AbstractEbuildProcess.py +++ b/pym/_emerge/AbstractEbuildProcess.py @@ -66,12 +66,12 @@ class AbstractEbuildProcess(SpawnProcess): # being killed by a signal. self.cancel() - def _zombie(self): + def _orphan_process_warn(self): phase = self._get_phase() - msg = _("The ebuild phase '%s' appears " - "to have left a zombie process with " - "pid %d.") % (phase, self.pid) + msg = _("The ebuild phase '%s' with pid %s appears " + "to have left an orphan process running in the " + "background.") % (phase, self.pid) self._eerror(textwrap.wrap(msg, 72)) diff --git a/pym/_emerge/SubProcess.py b/pym/_emerge/SubProcess.py index b6489c393..9d75f0ea1 100644 --- a/pym/_emerge/SubProcess.py +++ b/pym/_emerge/SubProcess.py @@ -73,7 +73,7 @@ class SubProcess(AbstractPollTask): del e self.scheduler.schedule(self._reg_id, timeout=timeout) if self._registered: - self._zombie() + self._orphan_process_warn() else: self.scheduler.schedule(self._reg_id) self._unregister() @@ -92,7 +92,7 @@ class SubProcess(AbstractPollTask): return self.returncode - def _zombie(self): + def _orphan_process_warn(self): pass def _unregister(self): |