[GRASS-SVN] r41710 -
grass/branches/develbranch_6/gui/wxpython/support
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Apr 4 09:17:23 EDT 2010
Author: martinl
Date: 2010-04-04 09:17:22 -0400 (Sun, 04 Apr 2010)
New Revision: 41710
Modified:
grass/branches/develbranch_6/gui/wxpython/support/update_menudata.py
Log:
fix update menudata support script
(merge r41708 from devbr6)
Modified: grass/branches/develbranch_6/gui/wxpython/support/update_menudata.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/support/update_menudata.py 2010-04-04 13:16:55 UTC (rev 41709)
+++ grass/branches/develbranch_6/gui/wxpython/support/update_menudata.py 2010-04-04 13:17:22 UTC (rev 41710)
@@ -29,6 +29,9 @@
from grass.script import core as grass
+sys.path.append('gui_modules')
+import menudata
+
def parseModules():
"""!Parse modules' interface"""
modules = dict()
@@ -145,7 +148,7 @@
modules = dict()
modules = parseModules()
grass.info("Step 3: reading menu data...")
- data = menudata.Data()
+ data = menudata.ManagerData()
grass.info("Step 4: updating menu data...")
updateData(data, modules)
More information about the grass-commit
mailing list