#NEWLINE# def getError( context ) : #NEWLINE# #INDENT# errors = context . locate ( iformless . IFormErrors ) #NEWLINE# err = errors . getError ( context . key ) #NEWLINE# if ( err is not None ) : #NEWLINE# #INDENT# return err #NEWLINE# #UNINDENT# return tags . comment [ ( '\nNo error for error key: %s\n' % context . key ) ]