[IMP]:OS Locale for environment Info
bzr revid: nch@tinyerp.com-20090714123809-t8i4d3akkcjlu76q
This commit is contained in:
parent
6926d61d73
commit
02cb96454e
|
@ -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' \
|
||||
|
|
Loading…
Reference in New Issue