/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/trace.py

  • Committer: Martin Pool
  • Date: 2006-11-02 09:37:21 UTC
  • mto: This revision was merged to the branch mainline in revision 2119.
  • Revision ID: mbp@sourcefrog.net-20061102093721-b606445faedb3fb2
Error cleanup review comments:

Change to 'internal_error'

Migrate all builtin errors from using docstrings, but still support them.

Fix typos and layout.

Show diffs side-by-side

added added

removed removed

Lines of Context:
267
267
        print >>err_file, "bzr: broken pipe"
268
268
    elif isinstance(exc_object, KeyboardInterrupt):
269
269
        print >>err_file, "bzr: interrupted"
270
 
    elif getattr(exc_object, 'is_user_error', False):
 
270
    elif not getattr(exc_object, 'internal_error', True):
271
271
        report_user_error(exc_info, err_file)
272
272
    elif isinstance(exc_object, (OSError, IOError)):
273
273
        # Might be nice to catch all of these and show them as something more