~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/lock.py

  • Committer: Martin Pool
  • Date: 2005-09-19 07:18:30 UTC
  • mto: (1185.8.2)
  • mto: This revision was merged to the branch mainline in revision 1390.
  • Revision ID: mbp@sourcefrog.net-20050919071830-67b8013f1acc723c
- Quieten warnings about locking; patch from Matt Lavin.

Show diffs side-by-side

added added

removed removed

Lines of Context:
168
168
                LOCK_NB = 4
169
169
                def unlock(self):
170
170
                    _msvc_unlock(self.f)
 
171
                    self.f.close()
 
172
                    self.f = None
171
173
 
172
174
 
173
175
            class _msvc_ReadLock(_msvc_FileLock):