~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/lockable_files.py

  • Committer: Martin Pool
  • Date: 2006-02-22 07:06:12 UTC
  • mto: This revision was merged to the branch mainline in revision 1569.
  • Revision ID: mbp@sourcefrog.net-20060222070612-c108852197fc0ca4
LockDir review comment fixes

Show diffs side-by-side

added added

removed removed

Lines of Context:
167
167
        # and potentially a remote locking protocol
168
168
        if self._lock_mode:
169
169
            if self._lock_mode != 'w':
170
 
                raise ReadOnlyError()
 
170
                raise ReadOnlyError(self)
171
171
            self._lock_count += 1
172
172
        else:
173
173
            self._lock = self._transport.lock_write(