mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-28 00:05:01 +00:00
removed import
This commit is contained in:
parent
b52a62190a
commit
719810b1a1
2 changed files with 14 additions and 16 deletions
|
@ -1,15 +0,0 @@
|
|||
import tempfile
|
||||
|
||||
|
||||
class IgnorantTemporaryDirectory:
|
||||
def __init__(self):
|
||||
self.temp_dir = tempfile.TemporaryDirectory()
|
||||
|
||||
def __enter__(self):
|
||||
return self.temp_dir.__enter__()
|
||||
|
||||
def __exit__(self, exc_type, exc_val, exc_tb):
|
||||
try:
|
||||
self.temp_dir.__exit__(exc_type, exc_val, exc_tb)
|
||||
except OSError:
|
||||
pass # Ignore errors (Windows)
|
Loading…
Add table
Add a link
Reference in a new issue