~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/trace.py

  • Committer: Martin Pool
  • Date: 2006-09-22 03:02:40 UTC
  • mfrom: (1913.2.4 bzr.mbp.python25)
  • mto: This revision was merged to the branch mainline in revision 2030.
  • Revision ID: mbp@sourcefrog.net-20060922030240-275cc23f08aaa30a
[merge] additional python2.5 fixes

Show diffs side-by-side

added added

removed removed

Lines of Context:
54
54
import errno
55
55
import os
56
56
import sys
 
57
import re
57
58
import logging
58
59
 
59
60
import bzrlib
168
169
    """
169
170
    if msg:
170
171
        error(msg)
171
 
    else:
172
 
        exc_str = format_exception_short(sys.exc_info())
173
 
        error(exc_str)
174
172
    log_exception_quietly()
175
173
 
176
174