[GRASS-SVN] r52950 - grass/branches/develbranch_6/gui/wxpython/gui_core

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Aug 28 03:13:48 PDT 2012


Author: annakrat
Date: 2012-08-28 03:13:47 -0700 (Tue, 28 Aug 2012)
New Revision: 52950

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

Modified: grass/branches/develbranch_6/gui/wxpython/gui_core/forms.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_core/forms.py	2012-08-28 10:06:52 UTC (rev 52949)
+++ grass/branches/develbranch_6/gui/wxpython/gui_core/forms.py	2012-08-28 10:13:47 UTC (rev 52950)
@@ -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