diff options
author | Zac Medico <zmedico@gentoo.org> | 2008-11-02 18:17:33 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2008-11-02 18:17:33 +0000 |
commit | a8388fec92e122292c1acddd6a394b3e5682ad39 (patch) | |
tree | a4abdc2c6ac4ef4db6d1bcd92828413a57dd0f11 | |
parent | 7188f78203efd71c4fcf4e6380e5279d1fc55b90 (diff) | |
download | portage-a8388fec92e122292c1acddd6a394b3e5682ad39.tar.gz portage-a8388fec92e122292c1acddd6a394b3e5682ad39.tar.bz2 portage-a8388fec92e122292c1acddd6a394b3e5682ad39.zip |
Remove duplicate code inside EbuildFetchPretend._execute().
svn path=/main/trunk/; revision=11801
-rw-r--r-- | pym/_emerge/__init__.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py index d576ee447..6cf6ddc22 100644 --- a/pym/_emerge/__init__.py +++ b/pym/_emerge/__init__.py @@ -1618,9 +1618,6 @@ class EbuildFetchPretend(SlotObject): portage.doebuild_environment(ebuild_path, "fetch", root_config.root, settings, debug, use_cache, portdb) portage.prepare_build_dirs(self.pkg.root, self.settings, 0) - portdb = self.pkg.root_config.trees["porttree"].dbapi - ebuild_path = portdb.findname(self.pkg.cpv) - debug = self.settings.get("PORTAGE_DEBUG") == "1" retval = portage.doebuild(ebuild_path, "fetch", self.settings["ROOT"], self.settings, debug=debug, |