[GRASS-SVN] r47835 -
grass/branches/develbranch_6/gui/wxpython/gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Aug 22 13:16:05 EDT 2011
Author: martinl
Date: 2011-08-22 10:16:05 -0700 (Mon, 22 Aug 2011)
New Revision: 47835
Modified:
grass/branches/develbranch_6/gui/wxpython/gui_modules/wxvdriver.py
Log:
wxGUI/vdigit: force LC_NUMERIC to C
(merge r47834 from trunk)
Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/wxvdriver.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/wxvdriver.py 2011-08-22 17:09:50 UTC (rev 47834)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/wxvdriver.py 2011-08-22 17:16:05 UTC (rev 47835)
@@ -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