[GRASS-SVN] r61663 - in grass-addons/grass7/gui/wxpython/wx.metadata: r.info.iso v.info.iso

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Aug 16 03:25:58 PDT 2014


Author: krejcmat
Date: 2014-08-16 03:25:57 -0700 (Sat, 16 Aug 2014)
New Revision: 61663

Modified:
   grass-addons/grass7/gui/wxpython/wx.metadata/r.info.iso/r.info.iso.py
   grass-addons/grass7/gui/wxpython/wx.metadata/v.info.iso/v.info.iso.py
Log:
fix get_lib_path

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-16 10:15:58 UTC (rev 61662)
+++ grass-addons/grass7/gui/wxpython/wx.metadata/r.info.iso/r.info.iso.py	2014-08-16 10:25:57 UTC (rev 61663)
@@ -40,7 +40,7 @@
 
 def load_mdlib():
     path = get_lib_path(modname='wx.metadata', libname='mdgrass')
-    if path is not None:
+    if path is None:
         fatal("Not able to find the metadata library directory")
     sys.path.append(path)
     

Modified: grass-addons/grass7/gui/wxpython/wx.metadata/v.info.iso/v.info.iso.py
===================================================================
--- grass-addons/grass7/gui/wxpython/wx.metadata/v.info.iso/v.info.iso.py	2014-08-16 10:15:58 UTC (rev 61662)
+++ grass-addons/grass7/gui/wxpython/wx.metadata/v.info.iso/v.info.iso.py	2014-08-16 10:25:57 UTC (rev 61663)
@@ -39,7 +39,7 @@
 
 def load_mdlib():
     path = get_lib_path(modname='wx.metadata', libname='mdgrass')
-    if path is not None:
+    if path is None:
         fatal("Not able to find the metadata library directory")
     sys.path.append(path)
 



More information about the grass-commit mailing list