summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-08-06 01:21:47 -0700
committerZac Medico <zmedico@gentoo.org>2010-08-06 01:21:47 -0700
commitb9226939dc1b50d7b77e8ac99112d468b2140b52 (patch)
treedaa2bbe9333b38762856f849db6873f1ba020f18 /pym/_emerge/Scheduler.py
parentPass more parameters to the Package constructor. (diff)
downloadportage-multirepo-b9226939dc1b50d7b77e8ac99112d468b2140b52.tar.gz
portage-multirepo-b9226939dc1b50d7b77e8ac99112d468b2140b52.tar.bz2
portage-multirepo-b9226939dc1b50d7b77e8ac99112d468b2140b52.zip
In action_unmerge(), create a Schuduler instance for calls to unmerge(),
in order to cause redirection of ebuild phase output to logs as required for options such as --quiet.
Diffstat (limited to 'pym/_emerge/Scheduler.py')
-rw-r--r--pym/_emerge/Scheduler.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/pym/_emerge/Scheduler.py b/pym/_emerge/Scheduler.py
index 94391fc8..c6af547f 100644
--- a/pym/_emerge/Scheduler.py
+++ b/pym/_emerge/Scheduler.py
@@ -345,6 +345,7 @@ class Scheduler(PollScheduler):
def _set_digraph(self, digraph):
if "--nodeps" in self.myopts or \
+ digraph is None or \
(self._max_jobs is not True and self._max_jobs < 2):
# save some memory
self._digraph = None