-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[NCL-6816] Stop using tempfile.mkdtemp in bacon_install.py
We should stop using it because the temp folder is not cleaned up after the method is called. It is replaced with: ``` with tempfile.TemporaryDirectory() as temp_folder: ``` since cleanup of the temp folder happens once we exit the 'with' clause.
- Loading branch information
1 parent
ba54eeb
commit 42a5aa9
Showing
1 changed file
with
15 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters