~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/errors.py

  • Committer: Martin Pool
  • Date: 2005-06-17 07:28:53 UTC
  • Revision ID: mbp@sourcefrog.net-20050617072853-a815535b877b1ac7
- weed out all remaining calls to bailout() and remove the function

Show diffs side-by-side

added added

removed removed

Lines of Context:
62
62
            Exception.__init__(self, e)
63
63
        else:
64
64
            Exception.__init__(self)
65
 
 
66
 
 
67
 
 
68
 
def bailout(msg, explanation=[]):
69
 
    ex = BzrError(msg, explanation)
70
 
    import trace
71
 
    trace._tracefile.write('* raising %s\n' % ex)
72
 
    raise ex
73