PHP 8.2.30
Preview: _error.py Size: 399 B
/opt/alt/python37/lib/python3.7/site-packages/filelock/_error.py

from __future__ import annotations


class Timeout(TimeoutError):
    """Raised when the lock could not be acquired in *timeout* seconds."""

    def __init__(self, lock_file: str) -> None:
        #: The path of the file lock.
        self.lock_file = lock_file

    def __str__(self) -> str:
        return f"The file lock '{self.lock_file}' could not be acquired."


__all__ = [
    "Timeout",
]

Directory Contents

Dirs: 1 × Files: 9

Name Size Perms Modified Actions
- drwxr-xr-x 2024-03-03 22:42:58
Edit Download
0 B lrw-r--r-- 2021-12-26 17:13:11
Edit Download
142 B lrw-r--r-- 2021-12-26 17:13:18
Edit Download
8.15 KB lrw-r--r-- 2021-12-26 17:13:11
Edit Download
399 B lrw-r--r-- 2021-12-26 17:13:11
Edit Download
1.61 KB lrw-r--r-- 2021-12-26 17:13:11
Edit Download
1.42 KB lrw-r--r-- 2021-12-26 17:13:11
Edit Download
594 B lrw-r--r-- 2021-12-26 17:13:11
Edit Download
1.72 KB lrw-r--r-- 2021-12-26 17:13:11
Edit Download
1.22 KB lrw-r--r-- 2021-12-26 17:13:11
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).