#NEWLINE# def invert_expression( self , expression ) : #NEWLINE# #INDENT# result = None #NEWLINE# try : #NEWLINE# #INDENT# result = opencenter . webapp . ast . invert_expression ( expression ) #NEWLINE# #UNINDENT# except SyntaxError as e : #NEWLINE# #INDENT# self . logger . error ( ( 'Error inverting expression: %s: %s' % ( expression , str ( e ) ) ) ) #NEWLINE# #UNINDENT# return result