fix: Remove unused variable section_result

This commit is contained in:
Paul Gauthier (aider) 2024-08-22 08:58:08 -07:00
parent 892f0b9a9d
commit 8ec67d339d

View file

@ -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="")