#NEWLINE# def insert_line_details( self , file_modification_id , detail ) : #NEWLINE# #INDENT# cursor = self . cnx . cursor ( ) #NEWLINE# query = ( ( 'INSERT INTO ' + self . db_name ) + '.line_detail VALUES (%s, %s, %s, %s, %s, %s, %s)' ) #NEWLINE# arguments = [ file_modification_id , detail [ 0 ] , detail [ 1 ] , detail [ 2 ] , detail [ 3 ] , detail [ 4 ] , detail [ 5 ] ] #NEWLINE# cursor . execute ( query , arguments ) #NEWLINE# self . cnx . commit ( ) #NEWLINE# cursor . close ( ) #NEWLINE# return