From 0879a3e324bf20b213d9c65a53b43704606f1199 Mon Sep 17 00:00:00 2001 From: Arvind Tiwari Date: Thu, 22 Feb 2018 14:18:55 +0530 Subject: [PATCH] fix flake8 issues --- utils/management/commands/optimize_frontend.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/utils/management/commands/optimize_frontend.py b/utils/management/commands/optimize_frontend.py index 571b5fde..8544ba66 100644 --- a/utils/management/commands/optimize_frontend.py +++ b/utils/management/commands/optimize_frontend.py @@ -368,10 +368,10 @@ def write_report(all_reports, filename='frontend'): all_reports (dict): A dictonary of report obtained from different tests filename (str): An optional suffix for the output file """ - full_filename = 'utils/optimize/optimize_' + filename + '.html' - output_file = os.path.join( - settings.PROJECT_DIR, full_filename - ) + # full_filename = 'utils/optimize/optimize_' + filename + '.html' + # output_file = os.path.join( + # settings.PROJECT_DIR, full_filename + # ) with open('utils/optimize/op_frontend.json', 'w') as f: json.dump(all_reports, f, indent=4) # with open(output_file, 'w', newline='') as f: