Return after detecting an invalid command line atom so as to avoid spurious dependenc...
authorJason Stubbs <jstubbs@gentoo.org>
Sun, 16 Oct 2005 08:25:15 +0000 (08:25 -0000)
committerJason Stubbs <jstubbs@gentoo.org>
Sun, 16 Oct 2005 08:25:15 +0000 (08:25 -0000)
svn path=/main/branches/2.0/; revision=2136

bin/emerge

index 809ce70221fd589dd61d7d1fb682fd5bbf4ce305..1be79e97578433ee960fdaa83cfe1cb3a6d115df 100755 (executable)
@@ -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: