From: Zac Medico Date: Tue, 29 Jul 2008 17:50:36 +0000 (-0000) Subject: Fix Scheduler._set_digraph() to correctly handle cases when max_jobs is True. X-Git-Tag: v2.2_rc5~17 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c58eaeef93c23cb13b4850b0b17f64eebca50082;p=portage.git Fix Scheduler._set_digraph() to correctly handle cases when max_jobs is True. svn path=/main/trunk/; revision=11267 --- 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