projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
608be5d
)
Validation of user atoms.
author
Jason Stubbs
<jstubbs@gentoo.org>
Thu, 29 Sep 2005 16:30:44 +0000
(16:30 -0000)
committer
Jason Stubbs
<jstubbs@gentoo.org>
Thu, 29 Sep 2005 16:30:44 +0000
(16:30 -0000)
svn path=/main/branches/2.0/; revision=2048
bin/emerge
patch
|
blob
|
history
diff --git
a/bin/emerge
b/bin/emerge
index 8f4edc75545c697d89e078681a38127599f5741e..f2d296ea7898b248324de8af65ebcb17f848465e 100755
(executable)
--- a/
bin/emerge
+++ b/
bin/emerge
@@
-1072,6
+1072,10
@@
class depgraph:
elif not "--oneshot" in myopts:
myfavorites.append(mykey)
else:
+ if not portage.isvalidatom(x):
+ print ("\n\n!!! '%s' is not a valid package atom." % x)
+ print "!!! Please check ebuild(5) for full details."
+ print "!!! (Did you specify a version but forget to prefix with '='?)"
try:
mykey=portage.dep_expand(x,mydb=portage.portdb)
except ValueError, errpkgs: