projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
442828e
)
Bail out immediately if --exclude is given a bad atom.
author
Zac Medico
<zmedico@gentoo.org>
Thu, 29 Apr 2010 13:33:22 +0000
(06:33 -0700)
committer
Zac Medico
<zmedico@gentoo.org>
Thu, 29 Apr 2010 13:33:22 +0000
(06:33 -0700)
pym/_emerge/main.py
patch
|
blob
|
history
diff --git
a/pym/_emerge/main.py
b/pym/_emerge/main.py
index 11dc9a4f0a512f0be64b15aa5764e12ce814a1d3..d5d364b219672f19195e65f53ce324a0d2439c10 100644
(file)
--- a/
pym/_emerge/main.py
+++ b/
pym/_emerge/main.py
@@
-754,8
+754,8
@@
def parse_opts(tmpcmdline, silent=False):
exclude.append(atom)
if bad_atoms and not silent:
-
writemsg("!!!
Invalid Atom(s) in --exclude parameter: '%s' (only package names and slot atoms allowed)\n" % \
- (",".join(bad_atoms),)
, noiselevel=-1
)
+
parser.error("
Invalid Atom(s) in --exclude parameter: '%s' (only package names and slot atoms allowed)\n" % \
+ (",".join(bad_atoms),))
myoptions.exclude = exclude