#NEWLINE# def _ParseAnnotation( self , project , node ) : #NEWLINE# #INDENT# name = self . _reqatt ( node , 'name' ) #NEWLINE# value = self . _reqatt ( node , 'value' ) #NEWLINE# try : #NEWLINE# #INDENT# keep = self . _reqatt ( node , 'keep' ) . lower ( ) #NEWLINE# #UNINDENT# except ManifestParseError : #NEWLINE# #INDENT# keep = 'true' #NEWLINE# #UNINDENT# if ( ( keep != 'true' ) and ( keep != 'false' ) ) : #NEWLINE# #INDENT# raise ManifestParseError ( 'optional "keep" attribute must be "true" or "false"' ) #NEWLINE# #UNINDENT# project . AddAnnotation ( name , value , keep )