~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/errors.py

  • Committer: Aaron Bentley
  • Date: 2008-11-03 21:52:46 UTC
  • mto: This revision was merged to the branch mainline in revision 3823.
  • Revision ID: aaron@aaronbentley.com-20081103215246-xcpvqnno9d1lhmz4
raise UserAbort instead of doing sys.exit

Show diffs side-by-side

added added

removed removed

Lines of Context:
2920
2920
 
2921
2921
    def __init__(self, shelf_id):
2922
2922
        BzrError.__init__(self, shelf_id=shelf_id)
 
2923
 
 
2924
 
 
2925
class UserAbort(BzrError):
 
2926
 
 
2927
    _fmt = 'The user aborted the operation.'