Skip to content

fromfile leaks file pointer in case parse raises exception #58

@stefanoborini

Description

@stefanoborini

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions