From 9f3cdf1a945bb2c997f05a847147d8945b4c7807 Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Tue, 20 Aug 2024 17:04:34 -0700 Subject: [PATCH] fix: Remove unused variable `shell_type` --- aider/coders/editblock_coder.py | 1 - 1 file changed, 1 deletion(-) diff --git a/aider/coders/editblock_coder.py b/aider/coders/editblock_coder.py index 9b922f9f1..f350d28b5 100644 --- a/aider/coders/editblock_coder.py +++ b/aider/coders/editblock_coder.py @@ -429,7 +429,6 @@ def find_original_update_blocks(content, fence=DEFAULT_FENCE): "```tcsh", ] if any(line.strip().startswith(start) for start in shell_starts): - shell_type = line.strip().split("```")[1] shell_content = [] i += 1 while i < len(lines) and not lines[i].strip().startswith("```"):