More sanity with exception types and raises docs.
[pyutils.git] / src / pyutils / files / lockfile.py
index 96bc40a0c7badff2854fccf9c131c315a684228b..1d78dd44d715df87cfe4329477dd54ea17318771 100644 (file)
@@ -104,6 +104,9 @@ class LockFile(contextlib.AbstractContextManager):
                 Note that this is required for zookeeper based locks.
             override_command: don't use argv to determine our commandline
                 rather use this instead if provided.
+
+        Raises:
+            Exception: Zookeeper lock path without an expiration timestamp
         """
         self.is_locked: bool = False
         self.lockfile: str = ""