EbuildBuild: pass ebuild_path to EbuildFetcher
authorZac Medico <zmedico@gentoo.org>
Tue, 19 Jul 2011 19:52:29 +0000 (12:52 -0700)
committerZac Medico <zmedico@gentoo.org>
Tue, 19 Jul 2011 19:52:29 +0000 (12:52 -0700)
This avoids a redundant pordbapi.findname() call.

pym/_emerge/EbuildBuild.py

index 1776d1eac3b2c1ee9784f92c7ad2e2517dad376a..0144cfc72dff09a379b4221e54215e77fac3e859 100644 (file)
@@ -123,6 +123,7 @@ class EbuildBuild(CompositeTask):
                        else:
                                fetcher = EbuildFetcher(
                                        config_pool=self.config_pool,
+                                       ebuild_path=self._ebuild_path,
                                        fetchall=self.opts.fetch_all_uri,
                                        fetchonly=self.opts.fetchonly,
                                        background=False,