diff options
author | Jason Stubbs <jstubbs@gentoo.org> | 2005-10-03 13:33:14 +0000 |
---|---|---|
committer | Jason Stubbs <jstubbs@gentoo.org> | 2005-10-03 13:33:14 +0000 |
commit | d8396b3457c86b78cab14244d56d2a91b0ae03c1 (patch) | |
tree | 324f54aa641491d65c88d863a77a727ce28cfc86 | |
parent | f2537492cca9e468d8d016e97ca78b323ed2aeec (diff) | |
download | portage-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
-rwxr-xr-x | bin/emerge | 3 |
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 |