#NEWLINE# def getattr( self , attr , context = None ) : #NEWLINE# #INDENT# if ( context is None ) : #NEWLINE# #INDENT# context = self . context #NEWLINE# #UNINDENT# if ( context == '' ) : #NEWLINE# #INDENT# return getattr ( self , attr , None ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# return getattr ( self , ( '_%s_%s' % ( context , attr ) ) , None )