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

fix: out of scope error when "dest" variable is undefined #413 #423

Merged
merged 1 commit into from Nov 11, 2022

Conversation

theGOTOguy
Copy link
Contributor

Resubmit of #414, fixing linter error.

Copy link
Collaborator

@bbc2 bbc2 left a comment

Choose a reason for hiding this comment

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

Thank you for working on this. I think we just need a few tweaks before we can merge it.

src/dotenv/main.py Outdated Show resolved Hide resolved
tests/test_main.py Outdated Show resolved Hide resolved
tests/test_main.py Outdated Show resolved Hide resolved
Fixes theskumar#413 whereby the NamedTemporaryFile "dest" was out of scope in the
error handling portion of rewrite.

The problem was initially fixed in theskumar#414 but it got reverted because of a
linter error. This new commit works around that linter error.
@bbc2
Copy link
Collaborator

bbc2 commented Nov 11, 2022

Thank you for the update and sorry for the delay. I simply rebased on top of main and squashed the commits. Merging now.

@bbc2 bbc2 merged commit 1ecb57d into theskumar:main Nov 11, 2022
@theGOTOguy theGOTOguy deleted the fix-dest-out-of-scope branch November 12, 2022 01:58
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.

None yet

2 participants