[GRASS-SVN] r52946 - grass/branches/releasebranch_6_4/gui/wxpython/gui_core

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Aug 28 02:43:15 PDT 2012


Author: annakrat
Date: 2012-08-28 02:43:15 -0700 (Tue, 28 Aug 2012)
New Revision: 52946

Modified:
   grass/branches/releasebranch_6_4/gui/wxpython/gui_core/forms.py
Log:
wxGUI: fix raising error (merge from trunk, r52945)

Modified: grass/branches/releasebranch_6_4/gui/wxpython/gui_core/forms.py
===================================================================
--- grass/branches/releasebranch_6_4/gui/wxpython/gui_core/forms.py	2012-08-28 09:37:39 UTC (rev 52945)
+++ grass/branches/releasebranch_6_4/gui/wxpython/gui_core/forms.py	2012-08-28 09:43:15 UTC (rev 52946)
@@ -1838,7 +1838,7 @@
             self.grass_task = gtask.parse_interface(gcmd.GetRealCmd(cmd[0]),
                                                     blackList = _blackList)
         except (grass.ScriptError, ValueError), e:
-            raise gcmd.GException(e)
+            raise gcmd.GException(e.value)
         
         # if layer parameters previously set, re-insert them into dialog
         if completed is not None:



More information about the grass-commit mailing list