[IMP]:OS Locale for environment Info

bzr revid: nch@tinyerp.com-20090714123809-t8i4d3akkcjlu76q
This commit is contained in:
Naresh Choksy 2009-07-14 18:08:09 +05:30
parent 6926d61d73
commit 02cb96454e
1 changed files with 1 additions and 1 deletions

View File

@ -532,7 +532,7 @@ GNU Public Licence.
except Exception,e:
rev_id = 'Exception: %s\n' % (str(e))
os_lang = os.environ.get('LANG', '').split('.')[0]
os_lang = '.'.join(locale.getdefaultlocale())
environment = '\nEnvironment Information : \n' \
'PlatForm : %s\n' \
'Operating System : %s\n' \