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

fromfile leaks file pointer in case parse raises exception #58

Open
stefanoborini opened this issue Jan 14, 2019 · 0 comments
Open

fromfile leaks file pointer in case parse raises exception #58

stefanoborini opened this issue Jan 14, 2019 · 0 comments

Comments

@stefanoborini
Copy link

the opening of the patch file needs a context manager, otherwise if patchset.parse raises an exception, the fp is never closed.

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

No branches or pull requests

1 participant