[GRASS-SVN] r47010 -
grass/branches/develbranch_6/gui/wxpython/gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Jul 6 06:27:22 EDT 2011
Author: martinl
Date: 2011-07-06 03:27:21 -0700 (Wed, 06 Jul 2011)
New Revision: 47010
Modified:
grass/branches/develbranch_6/gui/wxpython/gui_modules/location_wizard.py
Log:
wxGUI: fix grass.ScriptError
Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/location_wizard.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/location_wizard.py 2011-07-05 20:45:52 UTC (rev 47009)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/location_wizard.py 2011-07-06 10:27:21 UTC (rev 47010)
@@ -2037,8 +2037,8 @@
filename = self.wktpage.wktfile,
desc = self.startpage.locTitle)
- except grass.ScriptException, e:
- return str(e)
+ except grass.ScriptError, e:
+ return e.value
return None
More information about the grass-commit
mailing list