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

use contextmanager for reading files #2025

Closed
mfranzon opened this issue Nov 8, 2024 · 0 comments · Fixed by #2032
Closed

use contextmanager for reading files #2025

mfranzon opened this issue Nov 8, 2024 · 0 comments · Fixed by #2032

Comments

@mfranzon
Copy link
Collaborator

mfranzon commented Nov 8, 2024

for example here

task_group_activity.log = log_file_path.open("r").read()

@tcompa tcompa linked a pull request Nov 11, 2024 that will close this issue
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging a pull request may close this issue.

2 participants