Am 23.02.2014 09:07, schrieb Brian Dolbec: > --- > pym/_emerge/actions.py | 5 +++++ > pym/_emerge/depgraph.py | 5 +++-- > pym/_emerge/main.py | 5 +++++ > pym/portage/package/ebuild/config.py | 3 +++ > 4 files changed, 16 insertions(+), 2 deletions(-) > > diff --git a/pym/_emerge/actions.py b/pym/_emerge/actions.py > index 95c5c14..a3f7813 100644 > --- a/pym/_emerge/actions.py > +++ b/pym/_emerge/actions.py > @@ -2923,6 +2923,11 @@ def adjust_config(myopts, settings): > settings["PORTAGE_VERBOSE"] = "1" > settings.backup_changes("PORTAGE_VERBOSE") > > + if ("--verbose-slot-rebuilds" in myopts and > + myopts["--verbose-slot-rebuilds"] not in ("y","True")): > + settings["VERBOSE_SLOT_REBUILDS"] = "0" > + settings.backup_changes("VERBOSE_SLOT_REBUILDS")
Why do you put that into the config class? In the resolver you should just do: if "--verbose-slot-rebuilds" in self._frozen_config.myopts: Otherwise looks good.