Skip to content

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
@clefebvre clefebvre changed the title [Next] Use auto resource management for license file Use auto resource management for license file Feb 24, 2025
@mtwebster mtwebster merged commit 88f7b4f into linuxmint:master May 28, 2025
2 checks passed
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.

2 participants