#NEWLINE# def _validate_requirements_keys( self , requirement ) : #NEWLINE# #INDENT# for key in requirement . keys ( ) : #NEWLINE# #INDENT# if ( key not in self . REQUIREMENTS_SECTION ) : #NEWLINE# #INDENT# ExceptionCollector . appendException ( UnknownFieldError ( what = ( '"requirements" of template "%s"' % self . name ) , field = requirement ) )