~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/lock.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2010-02-05 12:46:50 UTC
  • mfrom: (5009.1.1 integration)
  • Revision ID: pqm@pqm.ubuntu.com-20100205124650-p5vtdmc5isa5qa7o
(vila)(trivial) Fix typos

Show diffs side-by-side

added added

removed removed

Lines of Context:
200
200
 
201
201
            self._open(self.filename, 'rb+')
202
202
            # reserve a slot for this lock - even if the lockf call fails,
203
 
            # at thisi point unlock() will be called, because self.f is set.
 
203
            # at this point unlock() will be called, because self.f is set.
204
204
            # TODO: make this fully threadsafe, if we decide we care.
205
205
            _fcntl_WriteLock._open_locks.add(self.filename)
206
206
            try: