[GRASS-SVN] r49895 - grass/trunk/gui/wxpython/tools
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat Dec 24 18:21:02 EST 2011
Author: martinl
Date: 2011-12-24 15:21:02 -0800 (Sat, 24 Dec 2011)
New Revision: 49895
Modified:
grass/trunk/gui/wxpython/tools/update_menudata.py
Log:
wxGUI/tools: fix when unable to get modules description
Modified: grass/trunk/gui/wxpython/tools/update_menudata.py
===================================================================
--- grass/trunk/gui/wxpython/tools/update_menudata.py 2011-12-24 23:10:00 UTC (rev 49894)
+++ grass/trunk/gui/wxpython/tools/update_menudata.py 2011-12-24 23:21:02 UTC (rev 49895)
@@ -55,7 +55,7 @@
continue
try:
interface = gtask.parse_interface(module)
- except StandardError, e:
+ except (StandardError, grass.ScriptError), e:
grass.error(module + ': ' + str(e))
continue
modules[interface.name] = { 'label' : interface.label,
More information about the grass-commit
mailing list