~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/errors.py

  • Committer: Martin Pool
  • Date: 2006-03-03 02:14:19 UTC
  • mto: This revision was merged to the branch mainline in revision 1593.
  • Revision ID: mbp@sourcefrog.net-20060303021419-cefbdc88b396592a
Start break-lock --show

Add LockableFiles.is_locked()

Show diffs side-by-side

added added

removed removed

Lines of Context:
346
346
        self.lock = lock
347
347
 
348
348
 
 
349
# XXX: duplicated definition
 
350
# TODO: change this to "object not locked"
349
351
class BranchNotLocked(LockError):
350
352
    """Branch %(branch)r not locked"""
351
353
    def __init__(self, branch):