Backed out changeset 84f72008ec8e
This commit is contained in:
1 parent
61a5986f75
commit
1aff8d295f
1 file changed
+1
-2
+1
-2
@@ -181,8 +181,7 @@ def setlang(lang=None):
|
||||
try:
|
||||
if os.name == 'nt':
|
||||
os.environ['LANG'] = ''
|
||||
else:
|
||||
locale.setlocale(locale.LC_ALL, '')
|
||||
locale.setlocale(locale.LC_ALL, '')
|
||||
except:
|
||||
logging.getLogger('translate').warn(
|
||||
_('Unable to unset locale'))
|
||||
|
||||
Reference in new issue
Block a user