From 6e4f17d3774f9318c1ebf699c682d97a7b033c9b Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Thu, 11 May 2023 22:06:32 -0700 Subject: [PATCH] cleanup --- aider/utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aider/utils.py b/aider/utils.py index 04755ebf4..397f38483 100644 --- a/aider/utils.py +++ b/aider/utils.py @@ -205,7 +205,8 @@ def find_original_update_blocks(content): raise ValueError(f"{processed}\n^^^ Error parsing ORIGINAL/UPDATED block.") -edit = """ +if __name__ == "__main__": + edit = """ Here's the change: ```text @@ -219,5 +220,4 @@ Tooooo Hope you like it! """ -if __name__ == "__main__": print(list(find_original_update_blocks(edit)))