[GRASS-SVN] r41708 - grass/trunk/gui/wxpython/support

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Apr 4 09:14:15 EDT 2010


Author: martinl
Date: 2010-04-04 09:14:15 -0400 (Sun, 04 Apr 2010)
New Revision: 41708

Modified:
   grass/trunk/gui/wxpython/support/update_menudata.py
Log:
fix update menudata support script


Modified: grass/trunk/gui/wxpython/support/update_menudata.py
===================================================================
--- grass/trunk/gui/wxpython/support/update_menudata.py	2010-04-04 13:10:04 UTC (rev 41707)
+++ grass/trunk/gui/wxpython/support/update_menudata.py	2010-04-04 13:14:15 UTC (rev 41708)
@@ -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()
@@ -144,7 +147,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