~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/commands.py

  • Committer: Jelmer Vernooij
  • Date: 2012-08-28 20:49:22 UTC
  • mto: This revision was merged to the branch mainline in revision 6556.
  • Revision ID: jelmer@samba.org-20120828204922-o8ok2komaeab6o2v
Inline traceback specification.

Show diffs side-by-side

added added

removed removed

Lines of Context:
935
935
        exitcode = trace.report_exception(exc_info, sys.stderr)
936
936
        if os.environ.get('BZR_PDB'):
937
937
            print '**** entering debugger'
938
 
            tb = exc_info[2]
939
938
            import pdb
940
 
            pdb.post_mortem(tb)
 
939
            pdb.post_mortem(exc_info[2])
941
940
        return exitcode
942
941
 
943
942