(self, path)
| 104 | class FileLock(AbstractFileLock): |
| 105 | |
| 106 | def __init__(self, path): |
| 107 | super(FileLock, self).__init__(path) |
| 108 | |
| 109 | if sys.platform.startswith('win'): |
| 110 | self._lock = _WinFileLock(path) |
| 111 | else: |
| 112 | self._lock = _NixFileLock(path) |
| 113 | |
| 114 | def acquire(self, blocking=True): |
| 115 | logger.debug('Acquiring %s (blocking=%s): %s', type(self).__name__, blocking, self.path) |
no test coverage detected