[GRASS-SVN] r46265 - grass/trunk/gui/wxpython/gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat May 14 04:01:55 EDT 2011
Author: neteler
Date: 2011-05-14 01:01:55 -0700 (Sat, 14 May 2011)
New Revision: 46265
Modified:
grass/trunk/gui/wxpython/gui_modules/prompt.py
Log:
glynn: fix bash_history not in utf-8 problem
Modified: grass/trunk/gui/wxpython/gui_modules/prompt.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/prompt.py 2011-05-14 08:01:39 UTC (rev 46264)
+++ grass/trunk/gui/wxpython/gui_modules/prompt.py 2011-05-14 08:01:55 UTC (rev 46265)
@@ -509,7 +509,7 @@
env['LOCATION_NAME'],
env['MAPSET'],
'.bash_history'),
- encoding = 'utf-8', mode = 'r')
+ encoding = 'utf-8', mode = 'r', errors='replace')
except IOError:
return hist
More information about the grass-commit
mailing list