diff options
author | Zac Medico <zmedico@gentoo.org> | 2008-07-29 17:50:36 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2008-07-29 17:50:36 +0000 |
commit | c58eaeef93c23cb13b4850b0b17f64eebca50082 (patch) | |
tree | 39312728f62ddea5af6880ad0f4b63789b5199bb | |
parent | 27532c515ba5d4d852b20ac6ddc3953d2d39dea6 (diff) | |
download | portage-c58eaeef93c23cb13b4850b0b17f64eebca50082.tar.gz portage-c58eaeef93c23cb13b4850b0b17f64eebca50082.tar.bz2 portage-c58eaeef93c23cb13b4850b0b17f64eebca50082.zip |
Fix Scheduler._set_digraph() to correctly handle cases when max_jobs is True.
svn path=/main/trunk/; revision=11267
-rw-r--r-- | pym/_emerge/__init__.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py index 87c6262a4..6951590db 100644 --- a/pym/_emerge/__init__.py +++ b/pym/_emerge/__init__.py @@ -8936,7 +8936,8 @@ class Scheduler(PollScheduler): return background def _set_digraph(self, digraph): - if self._max_jobs < 2: + if self._max_jobs is not True and \ + self._max_jobs < 2: # save some memory self._digraph = None return |