From: Zac Medico Date: Sun, 11 Jan 2009 23:31:56 +0000 (-0000) Subject: Bug #241808 - When loading options for --resume, discard the --color option X-Git-Tag: v2.2_rc21~5 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=12a93af5222190dafc4b503f2c5b659a31b2ac79;p=portage.git Bug #241808 - When loading options for --resume, discard the --color option so it doesn't override the current setting. svn path=/main/trunk/; revision=12428 --- diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py index 123aa3f34..1aa104c19 100644 --- a/pym/_emerge/__init__.py +++ b/pym/_emerge/__init__.py @@ -13769,7 +13769,7 @@ def action_build(settings, trees, mtimedb, resume_opts = mtimedb["resume"].get("myopts", []) if isinstance(resume_opts, list): resume_opts = dict((k,True) for k in resume_opts) - for opt in ("--skipfirst", "--ask", "--tree"): + for opt in ("--ask", "--color", "--skipfirst", "--tree"): resume_opts.pop(opt, None) myopts.update(resume_opts)