#NEWLINE# def __getattr__( self , name ) : #NEWLINE# #INDENT# if self . feature : #NEWLINE# #INDENT# use = ( ' to be able to use: %s' % self . feature ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# use = '' #NEWLINE# #UNINDENT# if self . source : #NEWLINE# #INDENT# source = ( ' from %s' % comment . source ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# source = '' #NEWLINE# #UNINDENT# if self . comment : #NEWLINE# #INDENT# comment = ( '. %s' % self . comment ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# comment = '' #NEWLINE# #UNINDENT# raise Exception ( ( "Optional package '%s' is not installed. Please install the package%s%s%s" % ( self . package , source , use , comment ) ) )