summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorJason Stubbs <jstubbs@gentoo.org>2005-10-03 13:33:14 +0000
committerJason Stubbs <jstubbs@gentoo.org>2005-10-03 13:33:14 +0000
commitd8396b3457c86b78cab14244d56d2a91b0ae03c1 (patch)
tree324f54aa641491d65c88d863a77a727ce28cfc86 /bin
parentf2537492cca9e468d8d016e97ca78b323ed2aeec (diff)
downloadportage-d8396b3457c86b78cab14244d56d2a91b0ae03c1.tar.gz
portage-d8396b3457c86b78cab14244d56d2a91b0ae03c1.tar.bz2
portage-d8396b3457c86b78cab14244d56d2a91b0ae03c1.zip
Warn and ignore on invalid system/world atoms
svn path=/main/branches/2.0/; revision=2082
Diffstat (limited to 'bin')
-rwxr-xr-xbin/emerge3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/emerge b/bin/emerge
index b70c5312a..a89dab786 100755
--- a/bin/emerge
+++ b/bin/emerge
@@ -860,6 +860,9 @@ def getlist(mode):
if myline[0]!="*":
continue
myline=myline[1:]
+ if not portage.isvalidatom(myline):
+ print "!!! Invalid atom '%s' in your '%s' file" % (myline, mode)
+ continue
mynewlines.append(myline.strip())
# Remove everything that is package.provided from our list