Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add auto cleanup for dump sql temp files #55

Merged
merged 1 commit into from
Jun 19, 2024

Conversation

oruehenbeck
Copy link
Contributor

Hi,

would be nice to cleanup the temporary sql dump files.

I would suggest using the NamedTemporaryFile context manager, see the commit in this PR.

Would do you think about this small improvement?

@iurisilvio iurisilvio merged commit 019283d into businho:main Jun 19, 2024
9 checks passed
@iurisilvio
Copy link
Collaborator

Thanks! At first I decided to not cleanup because filesystem will clean them eventually, but it is better to remove them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants