#NEWLINE# def update_log( self ) : #NEWLINE# #INDENT# num_queries = len ( connection . queries ) #NEWLINE# if ( ( self . query_index is not None ) and ( num_queries > self . query_index ) and LogManager . debug ) : #NEWLINE# #INDENT# self . queries . extend ( connection . queries [ num_queries . query_index : ] ) #NEWLINE# #UNINDENT# self . query_index = num_queries