summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Stubbs <jstubbs@gentoo.org>2005-10-16 08:25:15 +0000
committerJason Stubbs <jstubbs@gentoo.org>2005-10-16 08:25:15 +0000
commitf651301fd5ea13dd5fb79dff50de650583c2007a (patch)
treed4b612c114b5990c086588cc7da541a9e98d2e24
parentCheck if ebuild path is in vdb and check that vdb finds it okay rather than a... (diff)
downloadportage-multirepo-f651301fd5ea13dd5fb79dff50de650583c2007a.tar.gz
portage-multirepo-f651301fd5ea13dd5fb79dff50de650583c2007a.tar.bz2
portage-multirepo-f651301fd5ea13dd5fb79dff50de650583c2007a.zip
Return after detecting an invalid command line atom so as to avoid spurious dependency errors.
svn path=/main/branches/2.0/; revision=2136
-rwxr-xr-xbin/emerge1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/emerge b/bin/emerge
index 809ce702..1be79e97 100755
--- a/bin/emerge
+++ b/bin/emerge
@@ -1098,6 +1098,7 @@ class depgraph:
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 '='?)"
+ return (0,[])
try:
mykey=portage.dep_expand(x,mydb=portage.portdb)
except ValueError, errpkgs: