Guillaume Ayoub %!s(int64=9) %!d(string=hai) anos
pai
achega
5e5427f987
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  1. 1 2
      radicale/storage.py

+ 1 - 2
radicale/storage.py

@@ -626,8 +626,7 @@ class Collection(BaseCollection):
                             cls.logger.debug("Unlocking not supported")
                     elif os.name == "posix":
                         try:
-                            fcntl.lockf(cls._lock_file.fileno(),
-                                        fcntl.LOCK_UN)
+                            fcntl.lockf(cls._lock_file.fileno(), fcntl.LOCK_UN)
                         except OSError:
                             cls.logger.debug("Unlocking not supported")
                     cls._lock_file_locked = False