We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9882fbf commit c91be61Copy full SHA for c91be61
lifemonitor/api/models/repositories/github.py
@@ -382,9 +382,9 @@ def __del__(self):
382
def cleanup(self) -> None:
383
logger.debug("Repository cleanup")
384
if getattr(self, "_local_repo", None):
385
- local_repo_path = self.local_repo.local_path
+ local_repo_path = self._local_repo.local_path
386
del self._local_repo
387
- logger.debug("Removing temp folder %r of %r", self.local_path, self)
+ logger.debug("Removing temp folder %r of %r", self._local_path, self)
388
shutil.rmtree(local_repo_path, ignore_errors=True)
389
self._local_repo = None
390
0 commit comments