summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-05-16 16:11:43 -0700
committerZac Medico <zmedico@gentoo.org>2010-05-16 16:11:43 -0700
commit5481820fe547a89a4170f1973ae5e48bf0b4013a (patch)
tree7ec16354fb42daa1ab1228c6f0e04b94bb0e5c6e
parent229b7b55ab42147021a6084d2f097d1d79c70fcd (diff)
downloadportage-5481820fe547a89a4170f1973ae5e48bf0b4013a.tar.gz
portage-5481820fe547a89a4170f1973ae5e48bf0b4013a.tar.bz2
portage-5481820fe547a89a4170f1973ae5e48bf0b4013a.zip
Only count "merge" nodes when determining whether or not to trigger
parallel-fetch.
-rw-r--r--pym/_emerge/Scheduler.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/_emerge/Scheduler.py b/pym/_emerge/Scheduler.py
index b8dac2625..d22d104b1 100644
--- a/pym/_emerge/Scheduler.py
+++ b/pym/_emerge/Scheduler.py
@@ -259,7 +259,7 @@ class Scheduler(PollScheduler):
"thus parallel-fetching is being disabled"+"\n",
noiselevel=-1)
portage.writemsg(red("!!!")+"\n", noiselevel=-1)
- elif len(mergelist) > 1:
+ elif merge_count > 1:
self._parallel_fetch = True
if self._parallel_fetch: