~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/crash.py

  • Committer: Martin Packman
  • Date: 2012-02-01 13:23:26 UTC
  • mto: (6437.23.4 2.5)
  • mto: This revision was merged to the branch mainline in revision 6462.
  • Revision ID: martin.packman@canonical.com-20120201132326-gjlu3bw0oqkzsyai
Add blackbox test for displaying non-ascii log in bzr version

Show diffs side-by-side

added added

removed removed

Lines of Context:
170
170
    pr['Platform'] = platform.platform(aliased=1)
171
171
    pr['UserEncoding'] = osutils.get_user_encoding()
172
172
    pr['FileSystemEncoding'] = sys.getfilesystemencoding()
173
 
    pr['Locale'] = os.environ.get('LANG', 'C')
 
173
    pr['Locale'] = os.environ.get('LANG')
174
174
    pr['BzrPlugins'] = _format_plugin_list()
175
175
    pr['PythonLoadedModules'] = _format_module_list()
176
176
    pr['BzrDebugFlags'] = pprint.pformat(debug.debug_flags)
259
259
        os.open(filename, 
260
260
            os.O_WRONLY|os.O_CREAT|os.O_EXCL,
261
261
            0600),
262
 
        'wb')
 
262
        'w')
263
263
 
264
264
 
265
265
def _format_plugin_list():