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.
warcprox/writer.py
importsfcntl
to acquire an exclusive lock on files opened for writing, but this fails on Windows because thefcntl
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 likeportalocker
.