/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: Wouter van Heyst
  • Date: 2006-06-06 12:06:20 UTC
  • mfrom: (1740 +trunk)
  • mto: This revision was merged to the branch mainline in revision 1752.
  • Revision ID: larstiq@larstiq.dyndns.org-20060606120620-50066b0951e4ef7c
merge bzr.dev 1740

Show diffs side-by-side

added added

removed removed

Lines of Context:
75
75
        :param lock_class: Class of lock strategy to use: typically
76
76
            either LockDir or TransportLock.
77
77
        """
78
 
        object.__init__(self)
79
78
        self._transport = transport
80
79
        self.lock_name = lock_name
81
80
        self._transaction = None
82
 
        # Need to happen before _find_modes in case it throws an exception
83
 
        # __del__ expects _lock_count to be available
84
81
        self._lock_mode = None
85
82
        self._lock_count = 0
86
83
        self._find_modes()