From: Jason Stubbs Date: Sun, 16 Oct 2005 08:25:15 +0000 (-0000) Subject: Return after detecting an invalid command line atom so as to avoid spurious dependenc... X-Git-Tag: v2.0.53_rc6~5 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f651301fd5ea13dd5fb79dff50de650583c2007a;p=portage.git Return after detecting an invalid command line atom so as to avoid spurious dependency errors. svn path=/main/branches/2.0/; revision=2136 --- 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: