From e334cbb5d4829eac94e5bdf3abb4722a7bcbe133 Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Fri, 20 Dec 2024 16:03:40 -0800 Subject: [PATCH] fix: Correct indentation in load_results function --- benchmark/benchmark.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/benchmark/benchmark.py b/benchmark/benchmark.py index 763c0f727..200fb9051 100755 --- a/benchmark/benchmark.py +++ b/benchmark/benchmark.py @@ -428,12 +428,12 @@ def load_results(dirname, stats_languages=None): for pattern in glob_patterns: for fname in dirname.glob(pattern): - try: - results = json.loads(fname.read_text()) - all_results.append(results) - except json.JSONDecodeError: - print("json.JSONDecodeError", fname) - continue + try: + results = json.loads(fname.read_text()) + all_results.append(results) + except json.JSONDecodeError: + print("json.JSONDecodeError", fname) + continue return all_results