From 729b9c2bb068a41c38f93a553794b478a6e2e705 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sun, 13 Feb 2011 21:50:29 -0800 Subject: [PATCH] depgraph: --nodeps overrides --deep --- pym/_emerge/create_depgraph_params.py | 7 +++++-- 1 file 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 \ -- 2.26.2