Skip to content

fcntl module does not exist on Windows #164

@tari

Description

@tari

warcprox/writer.py imports fcntl to acquire an exclusive lock on files opened for writing, but this fails on Windows because the fcntl module is only available on Unix-like systems. It should either gracefully degrade to not use file locking if the module is not available, or use a portable library like portalocker.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions