For parallel-fetch prefetchers, pass fetchonly=1 into the EbuildFetcher
authorZac Medico <zmedico@gentoo.org>
Wed, 9 Jul 2008 21:51:25 +0000 (21:51 -0000)
committerZac Medico <zmedico@gentoo.org>
Wed, 9 Jul 2008 21:51:25 +0000 (21:51 -0000)
constructor.

svn path=/main/trunk/; revision=11003

pym/_emerge/__init__.py

index 9c9c70af0e55ac0c0ec2e4dbb96f0d7146bdeee4..c4d20f6672843c3944ed97255e96e544e5e41fb2 100644 (file)
@@ -7909,7 +7909,8 @@ class Scheduler(object):
 
                elif pkg.type_name == "ebuild":
 
-                       prefetcher = EbuildFetcher(logfile=self._fetch_log, pkg=pkg,
+                       prefetcher = EbuildFetcher(fetchonly=1,
+                               logfile=self._fetch_log, pkg=pkg,
                                scheduler=self._sched_iface)
 
                elif pkg.type_name == "binary" and \