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