~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/lockable_files.py

  • Committer: Martin Pool
  • Date: 2011-06-28 21:47:24 UTC
  • mto: This revision was merged to the branch mainline in revision 6002.
  • Revision ID: mbp@canonical.com-20110628214724-io85x1yegw9q2dld
Remove other warning-only del methods

Show diffs side-by-side

added added

removed removed

Lines of Context:
203
203
            finally:
204
204
                self._lock_mode = self._lock_count = None
205
205
 
206
 
    @property
207
 
    def _lock_count(self):
208
 
        return self._lock_count
209
 
 
210
206
    def is_locked(self):
211
207
        """Return true if this LockableFiles group is locked"""
212
208
        return self._lock_count >= 1