mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-01 02:05:00 +00:00
fix: Replace bare except and reorganize imports in io.py
This commit is contained in:
parent
4893f78286
commit
6f61aff735
1 changed files with 1 additions and 2 deletions
|
@ -20,7 +20,7 @@ def restore_multiline(func):
|
|||
self.multiline_mode = False
|
||||
try:
|
||||
return func(self, *args, **kwargs)
|
||||
except:
|
||||
except Exception:
|
||||
raise
|
||||
finally:
|
||||
self.multiline_mode = orig_multiline
|
||||
|
@ -48,7 +48,6 @@ from rich.style import Style as RichStyle
|
|||
from rich.text import Text
|
||||
|
||||
from aider.mdstream import MarkdownStream
|
||||
|
||||
from .dump import dump # noqa: F401
|
||||
from .utils import is_image_file
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue