#NEWLINE# def __str__( self ) : #NEWLINE# #INDENT# ' A nicely formatted representaion of the exception.\n\n        ' #NEWLINE# text = '\n\n' #NEWLINE# text += _format_source_error ( self . filename , self . context , self . lineno ) #NEWLINE# text += '\n\nOperatorLookupError: ' #NEWLINE# text += ( "failed to load operator '%s'" % self . operator ) #NEWLINE# return text