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

[Next] Use auto resource management for license file #330

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

hduelme
Copy link
Contributor

@hduelme hduelme commented Jan 7, 2025

Replaced manual resource management for the license file with the with statement to ensure it always gets closed. Additionally, since concatenating the results of readlines() reconstructs the original file content, read() is used directly instead for simplicity and efficiency.

@clefebvre clefebvre changed the title Use auto resource management for license file [Next] Use auto resource management for license file Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant