mirror of
https://github.com/Kozea/Radicale.git
synced 2025-06-26 16:45:52 +00:00
Cosmetics
This commit is contained in:
parent
eb1f964ee2
commit
5e5427f987
1 changed files with 1 additions and 2 deletions
|
@ -626,8 +626,7 @@ class Collection(BaseCollection):
|
||||||
cls.logger.debug("Unlocking not supported")
|
cls.logger.debug("Unlocking not supported")
|
||||||
elif os.name == "posix":
|
elif os.name == "posix":
|
||||||
try:
|
try:
|
||||||
fcntl.lockf(cls._lock_file.fileno(),
|
fcntl.lockf(cls._lock_file.fileno(), fcntl.LOCK_UN)
|
||||||
fcntl.LOCK_UN)
|
|
||||||
except OSError:
|
except OSError:
|
||||||
cls.logger.debug("Unlocking not supported")
|
cls.logger.debug("Unlocking not supported")
|
||||||
cls._lock_file_locked = False
|
cls._lock_file_locked = False
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue