diff options
author | Zac Medico <zmedico@gentoo.org> | 2008-07-03 08:17:09 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2008-07-03 08:17:09 +0000 |
commit | 84d5709dcdfe1d5981b1d873ea89e85adf248ec9 (patch) | |
tree | 961d2661e6c9f44044b50a9a8af538bf98770a2d | |
parent | 8cc0f999b4ae9a3ead0837a52ddca36318b20ddf (diff) | |
download | portage-84d5709dcdfe1d5981b1d873ea89e85adf248ec9.tar.gz portage-84d5709dcdfe1d5981b1d873ea89e85adf248ec9.tar.bz2 portage-84d5709dcdfe1d5981b1d873ea89e85adf248ec9.zip |
Remove unused BinpkgMerge class.
svn path=/main/trunk/; revision=10907
-rw-r--r-- | pym/_emerge/__init__.py | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py index b3e6c7a10..ffb10fe6a 100644 --- a/pym/_emerge/__init__.py +++ b/pym/_emerge/__init__.py @@ -2452,33 +2452,6 @@ class BinpkgExtractorAsync(SpawnProcess): self.env = self.pkg.root_config.settings.environ() SpawnProcess.start(self) -class BinpkgMerge(Task): - - __slots__ = ("find_blockers", "ldpath_mtimes", - "pkg", "pretend", "pkg_path", "settings") - - def _get_hash_key(self): - hash_key = getattr(self, "_hash_key", None) - if hash_key is None: - self._hash_key = ("BinpkgMerge", self.pkg._get_hash_key()) - return self._hash_key - - def execute(self): - - settings = self.settings - settings["EMERGE_FROM"] = self.pkg.type_name - settings.backup_changes("EMERGE_FROM") - settings.reset() - - root_config = self.pkg.root_config - retval = portage.pkgmerge(self.pkg_path, root_config.root, - self.settings, - mydbapi=root_config.trees["bintree"].dbapi, - vartree=root_config.trees["vartree"], - prev_mtimes=self.ldpath_mtimes, - blockers=self.find_blockers) - return retval - class DependencyArg(object): def __init__(self, arg=None, root_config=None): self.arg = arg |