Bug #241808 - When loading options for --resume, discard the --color option
authorZac Medico <zmedico@gentoo.org>
Sun, 11 Jan 2009 23:31:56 +0000 (23:31 -0000)
committerZac Medico <zmedico@gentoo.org>
Sun, 11 Jan 2009 23:31:56 +0000 (23:31 -0000)
so it doesn't override the current setting.

svn path=/main/trunk/; revision=12428

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)