[GRASS-SVN] r47012 - grass/trunk/gui/wxpython/gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Jul 6 06:31:15 EDT 2011
Author: martinl
Date: 2011-07-06 03:31:15 -0700 (Wed, 06 Jul 2011)
New Revision: 47012
Modified:
grass/trunk/gui/wxpython/gui_modules/location_wizard.py
Log:
wxGUI: fix grass.ScriptError
(merge r47010 from devbr6)
Modified: grass/trunk/gui/wxpython/gui_modules/location_wizard.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/location_wizard.py 2011-07-06 10:29:56 UTC (rev 47011)
+++ grass/trunk/gui/wxpython/gui_modules/location_wizard.py 2011-07-06 10:31:15 UTC (rev 47012)
@@ -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