/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 breezy/crash.py

  • Committer: Jelmer Vernooij
  • Date: 2017-05-21 18:10:28 UTC
  • mto: This revision was merged to the branch mainline in revision 6623.
  • Revision ID: jelmer@jelmer.uk-20170521181028-zn04pdfw0od9hfj3
Rename brzlib => breezy.

Show diffs side-by-side

added added

removed removed

Lines of Context:
51
51
import time
52
52
from StringIO import StringIO
53
53
 
54
 
import brzlib
55
 
from brzlib import (
 
54
import breezy
 
55
from breezy import (
56
56
    config,
57
57
    debug,
58
58
    osutils,
88
88
        err_file.write(textwrap.fill(l,
89
89
            width=78, subsequent_indent='    ') + '\n')
90
90
    print_wrapped('bzr %s on python %s (%s)\n' % \
91
 
        (brzlib.__version__,
92
 
        brzlib._format_version_tuple(sys.version_info),
 
91
        (breezy.__version__,
 
92
        breezy._format_version_tuple(sys.version_info),
93
93
        platform.platform(aliased=1)))
94
94
    print_wrapped('arguments: %r\n' % sys.argv)
95
95
    print_wrapped(textwrap.fill(
165
165
    pr['Package'] = 'bzr'
166
166
 
167
167
    pr['CommandLine'] = pprint.pformat(sys.argv)
168
 
    pr['BzrVersion'] = brzlib.__version__
169
 
    pr['PythonVersion'] = brzlib._format_version_tuple(sys.version_info)
 
168
    pr['BzrVersion'] = breezy.__version__
 
169
    pr['PythonVersion'] = breezy._format_version_tuple(sys.version_info)
170
170
    pr['Platform'] = platform.platform(aliased=1)
171
171
    pr['UserEncoding'] = osutils.get_user_encoding()
172
172
    pr['FileSystemEncoding'] = sys.getfilesystemencoding()