SmileyChris/django-mailer-2 — Issue #17: LockFile is not working on FreeBSD
Author: moskrc
Created: 2011-11-13 19:00:50+00:00
State: open

Hi Chris!

This is a great library. I found the problem. I moved from linode.com (ubuntu / linux) on FreeBSD. And the library is no longer working. I commented out the code to work with LockFile and it solved my problem. But it's bad ... Prompt me what to do with FreeBSD?
```
>>> from lockfile import FileLock, AlreadyLocked, LockTimeout
>>> lock = FileLock('/tmp/123.lock')
>>> lock.acquire(1)
Traceback (most recent call last):
File "", line 1, in
File "lockfile.py", line 261, in acquire
raise LockTimeout
lockfile.LockTimeout
>>>
```
Help me please.

Thanks!