~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/trace.py

  • Committer: Vincent Ladeuil
  • Date: 2009-05-05 15:31:34 UTC
  • mto: (4343.1.1 integration)
  • mto: This revision was merged to the branch mainline in revision 4344.
  • Revision ID: v.ladeuil+lp@free.fr-20090505153134-q4bp4is9gywsmzrv
Clean up test for log formats.

* bzrlib/tests/blackbox/test_logformats.py:
Update tests to actual style.

Show diffs side-by-side

added added

removed removed

Lines of Context:
478
478
 
479
479
def report_bug(exc_info, err_file):
480
480
    """Report an exception that probably indicates a bug in bzr"""
481
 
    import platform
482
481
    print_exception(exc_info, err_file)
483
482
    err_file.write('\n')
484
 
    err_file.write('bzr %s on python %s %s\n' % \
 
483
    err_file.write('bzr %s on python %s (%s)\n' % \
485
484
                       (bzrlib.__version__,
486
485
                        bzrlib._format_version_tuple(sys.version_info),
487
 
                        platform.platform(aliased=1)))
 
486
                        sys.platform))
488
487
    err_file.write('arguments: %r\n' % sys.argv)
489
488
    err_file.write(
490
489
        'encoding: %r, fsenc: %r, lang: %r\n' % (