Skip to content

Exception raised in bytes_to_read() intermittently on windows #440

Closed
@chrisc11

Description

@chrisc11

On windows I occasionally hit this line https://github.com/pyinvoke/invoke/blob/master/invoke/platform.py#L162 and then hit an exception because struct is not imported for windows. However, the TODO on L159 suggests maybe code should never get there in the first place? Adding or WINDOWS on 160 seemed to resolve my issue

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions