~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/lockable_files.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2006-06-04 10:55:31 UTC
  • mfrom: (1728.2.4 bzr.mbp.integration)
  • Revision ID: pqm@pqm.ubuntu.com-20060604105531-0071ce43b2156b7a
(mbp) several small fixes

Show diffs side-by-side

added added

removed removed

Lines of Context:
73
73
        :param lock_class: Class of lock strategy to use: typically
74
74
            either LockDir or TransportLock.
75
75
        """
76
 
        object.__init__(self)
77
76
        self._transport = transport
78
77
        self.lock_name = lock_name
79
78
        self._transaction = None
80
 
        self._find_modes()
81
79
        self._lock_mode = None
82
80
        self._lock_count = 0
 
81
        self._find_modes()
83
82
        esc_name = self._escape(lock_name)
84
83
        self._lock = lock_class(transport, esc_name,
85
84
                                file_modebits=self._file_mode,