#NEWLINE# def write_record( self , records , record_path , base ) : #NEWLINE# #INDENT# with CSVWriter ( record_path ) as writer : #NEWLINE# #INDENT# for row in records : #NEWLINE# #INDENT# writer . writerow ( row ) #NEWLINE# #UNINDENT# p = to_posix ( os . path . relpath ( record_path , base ) ) #NEWLINE# writer . writerow ( ( p , '' , '' ) )