Skip to content

Refactor context manager nesting#1122

Merged
elongl merged 2 commits into
elementary-data:masterfrom
kovaacs:master
Aug 30, 2023
Merged

Refactor context manager nesting#1122
elongl merged 2 commits into
elementary-data:masterfrom
kovaacs:master

Conversation

@kovaacs
Copy link
Copy Markdown
Contributor

@kovaacs kovaacs commented Aug 28, 2023

It's best practice not to keep context managers open if they're not needed. Reordering the code makes things much clearer.

Copy link
Copy Markdown
Contributor

@elongl elongl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the contribution!

@elongl elongl merged commit 32dd1d0 into elementary-data:master Aug 30, 2023
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.

3 participants