~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/crash.py

  • Committer: Dylan McCall
  • Date: 2013-01-30 05:55:38 UTC
  • mto: This revision was merged to the branch mainline in revision 6573.
  • Revision ID: dylanmccall@ubuntu.com-20130130055538-bq141zfdskr0s9dw
Default value of "C" for Locale property in Apport problem report object

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')
 
173
    pr['Locale'] = os.environ.get('LANG', 'C')
174
174
    pr['BzrPlugins'] = _format_plugin_list()
175
175
    pr['PythonLoadedModules'] = _format_module_list()
176
176
    pr['BzrDebugFlags'] = pprint.pformat(debug.debug_flags)