mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 01:35:00 +00:00
style: remove unused variable in exception handling
This commit is contained in:
parent
50555643d1
commit
33dde5e4a4
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ class AutoCompleter(Completer):
|
|||
continue
|
||||
try:
|
||||
lexer = guess_lexer_for_filename(fname, content)
|
||||
except Exception as ex: # On Windows, bad ref to time.clock which is deprecated
|
||||
except Exception: # On Windows, bad ref to time.clock which is deprecated
|
||||
continue
|
||||
|
||||
tokens = list(lexer.get_tokens(content))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue