[GRASS-SVN] r47011 - grass/branches/releasebranch_6_4/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Jul 6 06:29:56 EDT 2011


Author: martinl
Date: 2011-07-06 03:29:56 -0700 (Wed, 06 Jul 2011)
New Revision: 47011

Modified:
   grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/location_wizard.py
Log:
wxGUI: fix grass.ScriptError
       (merge r47010 from devbr6)


Modified: grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/location_wizard.py
===================================================================
--- grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/location_wizard.py	2011-07-06 10:27:21 UTC (rev 47010)
+++ grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/location_wizard.py	2011-07-06 10:29:56 UTC (rev 47011)
@@ -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