From dcc084144315ce87c6093c2556369be53bab3751 Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Sun, 1 Dec 2024 08:23:51 -0800 Subject: [PATCH] style: remove unused exception variable in FileWatcher --- aider/watch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aider/watch.py b/aider/watch.py index 5045c32b6..6726041e4 100644 --- a/aider/watch.py +++ b/aider/watch.py @@ -109,7 +109,7 @@ class FileWatcher: content = f.read() match = self.ai_comment_pattern.search(content) return bool(match) - except Exception as err: + except Exception: return def start(self):