~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/trace.py

  • Committer: Blake Winton
  • Date: 2007-10-16 17:37:43 UTC
  • mto: This revision was merged to the branch mainline in revision 2921.
  • Revision ID: bwinton@latte.ca-20071016173743-rbozxk906e8cbm9x
Implemented suggestions from John Arbash Meinel.

Show diffs side-by-side

added added

removed removed

Lines of Context:
351
351
    if 'error' in debug.debug_flags:
352
352
        report_bug(exc_info, err_file)
353
353
        return
354
 
    err_file.write("bzr: ERROR:" + ' ' + str(exc_info[1]) + '\n')
 
354
    err_file.write("bzr: ERROR: %s\n" % (exc_info[1],))
355
355
 
356
356
 
357
357
def report_bug(exc_info, err_file):