#NEWLINE# def parse( self , input ) : #NEWLINE# #INDENT# 'Passes input to each QueryLineHandler in use' #NEWLINE# query = None #NEWLINE# for handler in input . _line_handlers : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# query = handler . handle ( input ) #NEWLINE# #UNINDENT# except Exception as e : #NEWLINE# #INDENT# query = None #NEWLINE# #UNINDENT# finally : #NEWLINE# #INDENT# if ( query is not None ) : #NEWLINE# #INDENT# return query #NEWLINE# #UNINDENT# #UNINDENT# #UNINDENT# return None