mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-29 16:54:59 +00:00
fix: Remove unused variable section_result
This commit is contained in:
parent
892f0b9a9d
commit
8ec67d339d
1 changed files with 1 additions and 3 deletions
|
@ -57,9 +57,6 @@ def process_markdown(filename):
|
||||||
results.append({"header": header, "error": str(e)})
|
results.append({"header": header, "error": str(e)})
|
||||||
continue
|
continue
|
||||||
|
|
||||||
# Create a dictionary for this section
|
|
||||||
section_result = {"header": header, "blocks": []}
|
|
||||||
|
|
||||||
for block in blocks:
|
for block in blocks:
|
||||||
if block[0] is None: # This is a shell command block
|
if block[0] is None: # This is a shell command block
|
||||||
print("*** SHELL", "*" * 20)
|
print("*** SHELL", "*" * 20)
|
||||||
|
@ -68,6 +65,7 @@ def process_markdown(filename):
|
||||||
|
|
||||||
else: # This is a SEARCH/REPLACE block
|
else: # This is a SEARCH/REPLACE block
|
||||||
print("*** SEARCH:", block[0], "*" * 20)
|
print("*** SEARCH:", block[0], "*" * 20)
|
||||||
|
print("***", header, "*" * 20)
|
||||||
print(block[1], end="")
|
print(block[1], end="")
|
||||||
print("*" * 20)
|
print("*" * 20)
|
||||||
print(block[2], end="")
|
print(block[2], end="")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue