summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-05-05 05:07:35 +0000
committerZac Medico <zmedico@gentoo.org>2008-05-05 05:07:35 +0000
commit2c51c32b7f4cc06ffa1b3c2b5832948eb9a127ae (patch)
tree5463426e9e80a2e12348c7631d66f381e4dd2cc1
parenta24b6087fc59a0c9585001c219117e08a450e504 (diff)
downloadportage-2c51c32b7f4cc06ffa1b3c2b5832948eb9a127ae.tar.gz
portage-2c51c32b7f4cc06ffa1b3c2b5832948eb9a127ae.tar.bz2
portage-2c51c32b7f4cc06ffa1b3c2b5832948eb9a127ae.zip
* Fix --buildpkgonly logic to avoid an unwanted code path.
* Remove unnecessary mtimedb.pop("resume", None) call. svn path=/main/trunk/; revision=10194
-rw-r--r--pym/_emerge/__init__.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py
index 3c45d684a..378b4e21d 100644
--- a/pym/_emerge/__init__.py
+++ b/pym/_emerge/__init__.py
@@ -8149,8 +8149,7 @@ def action_build(settings, trees, mtimedb,
retval = mergetask.merge(pkglist, favorites, mtimedb)
merge_count = mergetask.curval
- if retval == os.EX_OK and not (pretend or fetchonly):
- mtimedb.pop("resume", None)
+ if retval == os.EX_OK and not (buildpkgonly or fetchonly or pretend):
if "yes" == settings.get("AUTOCLEAN"):
portage.writemsg_stdout(">>> Auto-cleaning packages...\n")
unmerge(trees[settings["ROOT"]]["root_config"],