#NEWLINE# def insert_file_renamed( self , repo_id , current_file_id , previous_file_id ) : #NEWLINE# #INDENT# cursor = self . cnx . cursor ( ) #NEWLINE# query = ( ( 'INSERT IGNORE INTO ' + self . db_name ) + '.file_renamed VALUES (%s, %s, %s)' ) #NEWLINE# arguments = [ repo_id , current_file_id , previous_file_id ] #NEWLINE# cursor . execute ( query , self ) #NEWLINE# self . cnx . commit ( ) #NEWLINE# cursor . close ( ) #NEWLINE# return