~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/errors.py

  • Committer: Martin Pool
  • Date: 2005-05-31 08:10:44 UTC
  • Revision ID: mbp@sourcefrog.net-20050531081044-0f6d28e39b8e19de
- replace Branch.lock(mode) with separate lock_read and lock_write 
  methods

Show diffs side-by-side

added added

removed removed

Lines of Context:
51
51
    pass
52
52
 
53
53
 
 
54
class LockError(BzrError):
 
55
    pass
 
56
 
 
57
 
54
58
def bailout(msg, explanation=[]):
55
59
    ex = BzrError(msg, explanation)
56
60
    import trace