From: Zac Medico Date: Mon, 5 May 2008 05:07:35 +0000 (-0000) Subject: * Fix --buildpkgonly logic to avoid an unwanted code path. X-Git-Tag: v2.2_pre6~3 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=2c51c32b7f4cc06ffa1b3c2b5832948eb9a127ae;p=portage.git * Fix --buildpkgonly logic to avoid an unwanted code path. * Remove unnecessary mtimedb.pop("resume", None) call. svn path=/main/trunk/; revision=10194 --- 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"],