projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7188f78
)
Remove duplicate code inside EbuildFetchPretend._execute().
author
Zac Medico
<zmedico@gentoo.org>
Sun, 2 Nov 2008 18:17:33 +0000
(18:17 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Sun, 2 Nov 2008 18:17:33 +0000
(18:17 -0000)
svn path=/main/trunk/; revision=11801
pym/_emerge/__init__.py
patch
|
blob
|
history
diff --git
a/pym/_emerge/__init__.py
b/pym/_emerge/__init__.py
index d576ee4476ca448ee82809110fb94694035503fd..6cf6ddc22e4efb45d3bef8553cde825400d81d89 100644
(file)
--- 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,