mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
repo: call Repo.close() on Repo.__exit__()
This commit is contained in:
committed by
Peter Rowlands (변기호)
parent
d2c63bffcb
commit
286f4fda3e
@@ -629,5 +629,4 @@ class Repo:
|
||||
return self
|
||||
|
||||
def __exit__(self, exc_type, exc_val, exc_tb):
|
||||
self._reset()
|
||||
self.scm.close()
|
||||
self.close()
|
||||
|
||||
Reference in New Issue
Block a user