def __normalize_grades(self):
if '<STR_LIT>' in self and self['<STR_LIT>']['<STR_LIT>'] is True:<EOL><INDENT>for grade in self['<STR_LIT>']:<EOL><INDENT>if grade != '<STR_LIT>' and self['<STR_LIT>'][grade] is True:<EOL><INDENT>self['<STR_LIT>']['<STR_LIT>'] = False<EOL>break<EOL><DEDENT><DEDENT><DEDENT>
Adjust the grades list.
If a grade has been set, set All to false