Bug #241808 - When loading options for --resume, discard the --color option
[portage.git] / pym / _emerge / __init__.py
index 123aa3f34f386ed0c56aa6738dfb34cf638805bc..1aa104c1933530a36e40c0b60cfc9bba54e357b4 100644 (file)
@@ -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)