[GRASS-SVN] r49896 - grass/branches/develbranch_6/gui/wxpython/tools

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Dec 24 18:21:42 EST 2011


Author: martinl
Date: 2011-12-24 15:21:42 -0800 (Sat, 24 Dec 2011)
New Revision: 49896

Modified:
   grass/branches/develbranch_6/gui/wxpython/tools/update_menudata.py
Log:
wxGUI/tools: fix when unable to get modules description


Modified: grass/branches/develbranch_6/gui/wxpython/tools/update_menudata.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/tools/update_menudata.py	2011-12-24 23:21:02 UTC (rev 49895)
+++ grass/branches/develbranch_6/gui/wxpython/tools/update_menudata.py	2011-12-24 23:21:42 UTC (rev 49896)
@@ -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