summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorJason Stubbs <jstubbs@gentoo.org>2005-10-01 10:41:52 +0000
committerJason Stubbs <jstubbs@gentoo.org>2005-10-01 10:41:52 +0000
commit638c456eac1010cbb8162914ce591df0313d0d2c (patch)
tree20cae6dfd69d0d3d573606da50f6e4937614db42 /bin
parent991f09f9a7d4f734f0f46087f7f6eee5dbe00d67 (diff)
downloadportage-638c456eac1010cbb8162914ce591df0313d0d2c.tar.gz
portage-638c456eac1010cbb8162914ce591df0313d0d2c.tar.bz2
portage-638c456eac1010cbb8162914ce591df0313d0d2c.zip
Check if invalid atoms are only missing a category and let those pass.
svn path=/main/branches/2.0/; revision=2066
Diffstat (limited to 'bin')
-rwxr-xr-xbin/emerge2
1 files changed, 1 insertions, 1 deletions
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 '='?)"