#NEWLINE# def export( self ) : #NEWLINE# #INDENT# start_time = datetime . now ( ) #NEWLINE# repo_json = codecs . open ( self . json_repo_path , 'w' , 'utf-8' ) #NEWLINE# self . set_repo_id ( ) #NEWLINE# self . add_file_info_to_json ( end_time ) #NEWLINE# repo_json . close ( ) #NEWLINE# end_time = datetime . now ( ) #NEWLINE# self . cnx . close ( ) #NEWLINE# minutes_and_seconds = divmod ( ( end_time - start_time ) . total_seconds ( ) , 60 ) #NEWLINE# self . logger . info ( ( ( ( ( 'Db2Json: process finished after ' + str ( minutes_and_seconds [ 0 ] ) ) + ' minutes and ' ) + str ( round ( minutes_and_seconds [ 1 ] , 1 ) ) ) + ' secs' ) )