#NEWLINE# def _reqatt( self , node , attname ) : #NEWLINE# #INDENT# '\n    reads a required attribute from the node.\n    ' #NEWLINE# v = node . getAttribute ( attname ) #NEWLINE# if ( not v ) : #NEWLINE# #INDENT# raise ManifestParseError ( ( 'no %s in <%s> within %s' % ( attname , node . nodeName , self . manifestFile ) ) ) #NEWLINE# #UNINDENT# return v