diff options
author | Jason Stubbs <jstubbs@gentoo.org> | 2005-10-16 08:25:15 +0000 |
---|---|---|
committer | Jason Stubbs <jstubbs@gentoo.org> | 2005-10-16 08:25:15 +0000 |
commit | f651301fd5ea13dd5fb79dff50de650583c2007a (patch) | |
tree | d4b612c114b5990c086588cc7da541a9e98d2e24 | |
parent | d0795c1638cb1f7837fad6395251deef1dbf1757 (diff) | |
download | portage-f651301fd5ea13dd5fb79dff50de650583c2007a.tar.gz portage-f651301fd5ea13dd5fb79dff50de650583c2007a.tar.bz2 portage-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-x | bin/emerge | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/emerge b/bin/emerge index 809ce7022..1be79e975 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: |