~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/lockdir.py

  • Committer: Martin Pool
  • Date: 2006-02-22 05:42:52 UTC
  • mto: This revision was merged to the branch mainline in revision 1569.
  • Revision ID: mbp@sourcefrog.net-20060222054252-b0d965d7cce9ccec
docstring for LockDir.unlock

Show diffs side-by-side

added added

removed removed

Lines of Context:
194
194
        raise LockContention(self)
195
195
 
196
196
    def unlock(self):
 
197
        """Release a held lock
 
198
        """
197
199
        if not self._lock_held:
198
200
            raise LockNotHeld(self)
199
201
        # rename before deleting, because we can't atomically remove the whole