summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/emerge/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pym/emerge/__init__.py b/pym/emerge/__init__.py
index f93e93adc..b5c05c63e 100644
--- a/pym/emerge/__init__.py
+++ b/pym/emerge/__init__.py
@@ -351,9 +351,9 @@ def create_depgraph_params(myopts, myaction):
myparams.add("selective")
if "--emptytree" in myopts:
myparams.add("empty")
- myparams.remove("selective")
+ myparams.discard("selective")
if "--nodeps" in myopts:
- myparams.remove("recurse")
+ myparams.discard("recurse")
if "--deep" in myopts:
myparams.add("deep")
return myparams