From 1aff8d295fe56f5739a34860cf4a35e02bef1def Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Wed, 13 Aug 2008 12:50:03 +0200 Subject: [PATCH] Backed out changeset 84f72008ec8e --- tryton/translate.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tryton/translate.py b/tryton/translate.py index 334acc4ecd..1883f54671 100644 --- a/tryton/translate.py +++ b/tryton/translate.py @@ -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'))