/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-09-22 02:32:41 UTC
  • mfrom: (2027.2.3 bzr.dev)
  • mto: This revision was merged to the branch mainline in revision 2030.
  • Revision ID: mbp@sourcefrog.net-20060922023241-474fdb7540c8cf2e
[merge] python2.5 fixes from Marien

Show diffs side-by-side

added added

removed removed

Lines of Context:
288
288
    """Report an exception that probably indicates a bug in bzr"""
289
289
    import traceback
290
290
    exc_type, exc_object, exc_tb = exc_info
291
 
    print >>err_file, "bzr: ERROR: %s: %s" % (exc_type, exc_object)
 
291
    print >>err_file, "bzr: ERROR: %s.%s: %s" % (
 
292
        exc_type.__module__, exc_type.__name__, exc_object)
292
293
    print >>err_file
293
294
    traceback.print_exception(exc_type, exc_object, exc_tb, file=err_file)
294
295
    print >>err_file