From 050291c5a47c1ddc869c6d7374f5b6f5e6c58f91 Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Thu, 29 Aug 2024 09:43:54 -0700 Subject: [PATCH] style: remove trailing whitespace in exception_handler function --- aider/report.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aider/report.py b/aider/report.py index 3c0c57e2d..b95cb1ff5 100644 --- a/aider/report.py +++ b/aider/report.py @@ -57,7 +57,7 @@ def exception_handler(exc_type, exc_value, exc_traceback): # Format the traceback tb_lines = traceback.format_exception(exc_type, exc_value, exc_traceback) - + # Replace full paths with basenames in the traceback tb_lines_with_basenames = [] for line in tb_lines: @@ -68,7 +68,7 @@ def exception_handler(exc_type, exc_value, exc_traceback): basename = os.path.basename(full_path) line = line.replace(full_path, basename) tb_lines_with_basenames.append(line) - + tb_text = "".join(tb_lines_with_basenames) # Find the first non-frozen frame