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