[GRASS-SVN] r52945 - grass/trunk/gui/wxpython/gui_core
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Aug 28 02:37:40 PDT 2012
Author: annakrat
Date: 2012-08-28 02:37:39 -0700 (Tue, 28 Aug 2012)
New Revision: 52945
Modified:
grass/trunk/gui/wxpython/gui_core/forms.py
Log:
wxGUI: fix raising error
Modified: grass/trunk/gui/wxpython/gui_core/forms.py
===================================================================
--- grass/trunk/gui/wxpython/gui_core/forms.py 2012-08-28 09:20:41 UTC (rev 52944)
+++ grass/trunk/gui/wxpython/gui_core/forms.py 2012-08-28 09:37:39 UTC (rev 52945)
@@ -2047,7 +2047,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