From: Jason Stubbs Date: Sat, 1 Oct 2005 10:41:52 +0000 (-0000) Subject: Check if invalid atoms are only missing a category and let those pass. X-Git-Tag: v2.0.53_rc4_2111~29 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=638c456eac1010cbb8162914ce591df0313d0d2c;p=portage.git Check if invalid atoms are only missing a category and let those pass. svn path=/main/branches/2.0/; revision=2066 --- diff --git a/bin/emerge b/bin/emerge index 7b926edaa..5341fbcbf 100755 --- a/bin/emerge +++ b/bin/emerge @@ -1083,7 +1083,7 @@ class depgraph: elif not "--oneshot" in myopts: myfavorites.append(mykey) else: - if not portage.isvalidatom(x): + if not portage.isvalidatom(x) and not portage.isvalidatom("cat/"+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 '='?)"