[GRASS-SVN] r47837 -
grass/branches/releasebranch_6_4/gui/wxpython/gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Aug 22 13:47:02 EDT 2011
Author: martinl
Date: 2011-08-22 10:47:02 -0700 (Mon, 22 Aug 2011)
New Revision: 47837
Modified:
grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/wxvdriver.py
Log:
wxGUI/vdigit: force LC_NUMERIC to C
(merge r47834 from trunk)
Modified: grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/wxvdriver.py
===================================================================
--- grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/wxvdriver.py 2011-08-22 17:43:31 UTC (rev 47836)
+++ grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/wxvdriver.py 2011-08-22 17:47:02 UTC (rev 47837)
@@ -18,6 +18,7 @@
"""
import math
+import locale
import wx
@@ -71,7 +72,8 @@
log = glog
progress = gprogress
- G_gisinit('') # initialize GRASS libs
+ G_gisinit('wxvdigit')
+ locale.setlocale(locale.LC_NUMERIC, 'C')
G_set_error_routine(errfunc)
G_set_percent_routine(perfunc)
More information about the grass-commit
mailing list