diff options
author | Zac Medico <zmedico@gentoo.org> | 2010-10-22 07:07:14 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2010-10-22 07:35:13 -0700 |
commit | 22af1f35152d30084299baab4e9ca3b0b50fec65 (patch) | |
tree | d306248802d92a0c68044dba76aa73cb8e6265ba /pym/_emerge/EbuildFetchonly.py | |
parent | c5d52b6b4a5a9664745196b5137f22154258c895 (diff) | |
download | portage-22af1f35152d30084299baab4e9ca3b0b50fec65.tar.gz portage-22af1f35152d30084299baab4e9ca3b0b50fec65.tar.bz2 portage-22af1f35152d30084299baab4e9ca3b0b50fec65.zip |
EbuildFetchonly: remove unused _execute method
Diffstat (limited to 'pym/_emerge/EbuildFetchonly.py')
-rw-r--r-- | pym/_emerge/EbuildFetchonly.py | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/pym/_emerge/EbuildFetchonly.py b/pym/_emerge/EbuildFetchonly.py index 39a0b6fe2..2594329fd 100644 --- a/pym/_emerge/EbuildFetchonly.py +++ b/pym/_emerge/EbuildFetchonly.py @@ -30,25 +30,3 @@ class EbuildFetchonly(SlotObject): eerror(msg, phase="unpack", key=pkg.cpv) return rval - - def _execute(self): - settings = self.settings - pkg = self.pkg - root_config = pkg.root_config - portdb = root_config.trees["porttree"].dbapi - ebuild_path = portdb.findname(pkg.cpv) - if ebuild_path is None: - raise AssertionError("ebuild not found for '%s'" % pkg.cpv) - debug = settings.get("PORTAGE_DEBUG") == "1" - retval = portage.doebuild(ebuild_path, "fetch", - self.settings["ROOT"], self.settings, debug=debug, - listonly=self.pretend, fetchonly=1, fetchall=self.fetch_all, - mydbapi=portdb, tree="porttree") - - if retval != os.EX_OK: - msg = "Fetch failed for '%s'" % (pkg.cpv,) - eerror(msg, phase="unpack", key=pkg.cpv) - - portage.elog.elog_process(self.pkg.cpv, self.settings) - return retval - |