73
77
:param lock_class: Class of lock strategy to use: typically
74
78
either LockDir or TransportLock.
77
80
self._transport = transport
78
81
self.lock_name = lock_name
83
86
esc_name = self._escape(lock_name)
84
87
self._lock = lock_class(transport, esc_name,
85
88
file_modebits=self._file_mode,