From 638c456eac1010cbb8162914ce591df0313d0d2c Mon Sep 17 00:00:00 2001 From: Jason Stubbs Date: Sat, 1 Oct 2005 10:41:52 +0000 Subject: [PATCH] Check if invalid atoms are only missing a category and let those pass. svn path=/main/branches/2.0/; revision=2066 --- bin/emerge | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 '='?)" -- 2.26.2