From 60f3f096f6e00e99dd48ba5aa9d689dc6cb6e75f Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 30 Apr 2009 07:01:03 +0000 Subject: [PATCH] Bug #265111 - Make current options override older options for --resume. (trunk r13302) svn path=/main/branches/2.1.6/; revision=13473 --- pym/_emerge/__init__.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py index d6c27157f..85dbe5644 100644 --- a/pym/_emerge/__init__.py +++ b/pym/_emerge/__init__.py @@ -14116,6 +14116,10 @@ def action_build(settings, trees, mtimedb, resume_opts = dict((k,True) for k in resume_opts) for opt in ("--ask", "--color", "--skipfirst", "--tree"): resume_opts.pop(opt, None) + + # Current options always override resume_opts. + resume_opts.update(myopts) + myopts.clear() myopts.update(resume_opts) if "--debug" in myopts: -- 2.26.2