~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/commands.py

  • Committer: Martin Pool
  • Date: 2006-06-04 21:45:02 UTC
  • mto: This revision was merged to the branch mainline in revision 1797.
  • Revision ID: mbp@sourcefrog.net-20060604214502-a47830087e90a3e1
Improved tests for display of exceptions.

Show diffs side-by-side

added added

removed removed

Lines of Context:
661
661
            bzrlib.trace.note('broken pipe')
662
662
            return 3
663
663
        else:
664
 
            bzrlib.trace.report_unhandled_exception(sys.exc_info(), sys.stderr)
 
664
            bzrlib.trace.report_exception(sys.exc_info(), sys.stderr)
665
665
            if os.environ.get('BZR_PDB'):
666
666
                print '**** entering debugger'
667
667
                import pdb