229
229
self.filename = osutils.realpath(filename)
230
230
if self.filename in _fcntl_WriteLock._open_locks:
231
231
if 'strict_locks' in debug.debug_flags:
232
234
raise errors.LockContention(self.filename)
234
236
trace.mutter('Read lock taken w/ an open write lock on: %s'