From 8ec67d339d7ac1b9151c265ec70b7c923c61cede Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Thu, 22 Aug 2024 08:58:08 -0700 Subject: [PATCH] fix: Remove unused variable `section_result` --- testsr.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/testsr.py b/testsr.py index ea16ae844..f983ef9c1 100755 --- a/testsr.py +++ b/testsr.py @@ -57,9 +57,6 @@ def process_markdown(filename): results.append({"header": header, "error": str(e)}) continue - # Create a dictionary for this section - section_result = {"header": header, "blocks": []} - for block in blocks: if block[0] is None: # This is a shell command block print("*** SHELL", "*" * 20) @@ -68,6 +65,7 @@ def process_markdown(filename): else: # This is a SEARCH/REPLACE block print("*** SEARCH:", block[0], "*" * 20) + print("***", header, "*" * 20) print(block[1], end="") print("*" * 20) print(block[2], end="")