X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;ds=sidebyside;f=tools%2Fodl-mdsal-clustering-tests%2Fclustering-performance-test%2Fcreate_plot_data_files.py;h=154a89f3ed410a67a6c9bff223b6a7c3d4080d26;hb=b2cd74063cbcdfadcbe20746116ec276e27ea0cb;hp=12ee2e82fae36da3b0b8d8a6ccaa0c4535408471;hpb=e405dbebf449bda49e3c9f071043e28f57c64438;p=integration%2Ftest.git diff --git a/tools/odl-mdsal-clustering-tests/clustering-performance-test/create_plot_data_files.py b/tools/odl-mdsal-clustering-tests/clustering-performance-test/create_plot_data_files.py index 12ee2e82fa..154a89f3ed 100644 --- a/tools/odl-mdsal-clustering-tests/clustering-performance-test/create_plot_data_files.py +++ b/tools/odl-mdsal-clustering-tests/clustering-performance-test/create_plot_data_files.py @@ -15,13 +15,13 @@ for line in log.splitlines(): res = pat_rate.search(line) if res is not None: rate.append(res.groups('rate1')[0]) -print rate +print(rate) for line in log.splitlines(): res = pat_time.search(line) if res is not None: time.append(res.groups('time1')[0]) -print time +print(time) text_file = open("rates.csv", "w") text_file.write('Add,Delete\n')