[GRASS-SVN] r61641 - grass-addons/grass7/gui/wxpython/wx.metadata/r.info.iso

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Aug 14 13:44:49 PDT 2014


Author: martinl
Date: 2014-08-14 13:44:49 -0700 (Thu, 14 Aug 2014)
New Revision: 61641

Modified:
   grass-addons/grass7/gui/wxpython/wx.metadata/r.info.iso/r.info.iso.py
Log:
wx.metadata: fix r61640 - import * only allowed at module level

Modified: grass-addons/grass7/gui/wxpython/wx.metadata/r.info.iso/r.info.iso.py
===================================================================
--- grass-addons/grass7/gui/wxpython/wx.metadata/r.info.iso/r.info.iso.py	2014-08-14 20:42:48 UTC (rev 61640)
+++ grass-addons/grass7/gui/wxpython/wx.metadata/r.info.iso/r.info.iso.py	2014-08-14 20:44:49 UTC (rev 61641)
@@ -43,12 +43,12 @@
     if path is not None:
         fatal("Not able to find the metadata library directory")
     sys.path.append(path)
-    from mdgrass import *
     
 def main():
     # load metadata library
     load_mdlib()
-    
+    from mdgrass import GrassMD
+
     if not options['output']:
         destination = None
         name = None



More information about the grass-commit mailing list