[FIX] unsupported locale settings...

bzr revid: apa@tinyerp.com-20090122133705-o0hq401l21uau12e
This commit is contained in:
Apa (Open ERP) 2009-01-22 19:07:05 +05:30
parent 7b26658101
commit c677abdf3e
1 changed files with 0 additions and 1 deletions

View File

@ -540,7 +540,6 @@ def trans_load_data(db_name, fileobj, fileformat, lang, strict=False, lang_name=
else:
locale.setlocale(locale.LC_ALL, str(lang + '.' + encoding))
except Exception:
locale.setlocale(locale.LC_ALL, str('en_US' + '.' + encoding))
netsvc.Logger().notifyChannel(' ', netsvc.LOG_WARNING,
'unable to set locale "%s"' % (lang))