/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/lockable_files.py

  • Committer: Martin Pool
  • Date: 2006-06-01 09:36:09 UTC
  • mto: This revision was merged to the branch mainline in revision 1740.
  • Revision ID: mbp@sourcefrog.net-20060601093609-fa55793e1d8d8edc
Fix up LockableFiles._lock_count initializer

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,