worlddict=genericdict(worldlist)
world_problems = False
+ missing_atoms = []
for x in worlddict.keys():
if not portage.isvalidatom(x):
world_problems = True
elif not portage.db["/"]["vartree"].dbapi.match(x):
world_problems = True
elif not portage.db["/"]["porttree"].dbapi.match(x):
- world_problems = True
+ missing_atoms.append(x)
else:
sysdict[x]=worlddict[x]
if world_problems:
print "\n!!! Problems have been detected with your world file"
print "!!! Please run "+green("emaint --check world")+"\n"
del world_problems
+ if missing_atoms and "--verbose" in myopts:
+ print "\n!!! Packages for the following atoms are either all"
+ print "!!! masked or don't exist:"
+ print " ".join(missing_atoms) + "\n"
+ del missing_atoms
mylist = sysdict.keys()