Make postats.py independent of the environment locale (2nd try)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23080 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
José Matox 2008-02-20 16:31:50 +00:00
parent 6069c5ad16
commit 66a1e2cb3d

View File

@ -37,7 +37,8 @@ import sys
# Reset the locale
import locale
locale.setlocale(locale.LC_ALL, '')
locale.setlocale(locale.LC_ALL, 'C')
os.environ['LC_ALL'] = 'C'
def extract_number(line, issues, prop):
"""