summaryrefslogtreecommitdiffstats
path: root/pym/_emerge/main.py
diff options
context:
space:
mode:
Diffstat (limited to 'pym/_emerge/main.py')
-rw-r--r--pym/_emerge/main.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pym/_emerge/main.py b/pym/_emerge/main.py
index 9f7a20da5..5422d32bb 100644
--- a/pym/_emerge/main.py
+++ b/pym/_emerge/main.py
@@ -565,7 +565,7 @@ def parse_opts(tmpcmdline, silent=False):
"Emerge won't install any ebuild or binary package that " + \
"matches any of the given package atoms.",
- "action" : "store"
+ "action" : "append"
},
"--fail-clean": {
@@ -735,7 +735,7 @@ def parse_opts(tmpcmdline, silent=False):
if myoptions.exclude:
exclude = []
bad_atoms = []
- for x in myoptions.exclude.split():
+ for x in ' '.join(myoptions.exclude).split():
bad_atom = False
try:
atom = portage.dep.Atom(x)