diff options
-rw-r--r-- | pym/_emerge/create_depgraph_params.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/pym/_emerge/create_depgraph_params.py b/pym/_emerge/create_depgraph_params.py index 454363e6a..b0b49b347 100644 --- a/pym/_emerge/create_depgraph_params.py +++ b/pym/_emerge/create_depgraph_params.py @@ -29,8 +29,7 @@ def create_depgraph_params(myopts, myaction): "--noreplace" in myopts or \ myopts.get("--selective", "n") != "n": myparams["selective"] = True - if "--nodeps" in myopts: - myparams.pop("recurse", None) + if "--deep" in myopts: myparams["deep"] = myopts["--deep"] if "--complete-graph" in myopts: @@ -40,6 +39,10 @@ def create_depgraph_params(myopts, myaction): myparams["deep"] = True myparams.pop("selective", None) + if "--nodeps" in myopts: + myparams.pop("recurse", None) + myparams.pop("deep", None) + rebuilt_binaries = myopts.get('--rebuilt-binaries') if rebuilt_binaries is True or \ rebuilt_binaries != 'n' and \ |