[GRASS-SVN] r66800 - in grass-addons/grass7/raster/r.agent: r.agent.aco r.agent.rand
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Nov 11 09:14:19 PST 2015
Author: mic
Date: 2015-11-11 09:14:19 -0800 (Wed, 11 Nov 2015)
New Revision: 66800
Modified:
grass-addons/grass7/raster/r.agent/r.agent.aco/r.agent.aco.py
grass-addons/grass7/raster/r.agent/r.agent.rand/r.agent.rand.py
Log:
fix lib path in sub modules
Modified: grass-addons/grass7/raster/r.agent/r.agent.aco/r.agent.aco.py
===================================================================
--- grass-addons/grass7/raster/r.agent/r.agent.aco/r.agent.aco.py 2015-11-11 17:14:17 UTC (rev 66799)
+++ grass-addons/grass7/raster/r.agent/r.agent.aco/r.agent.aco.py 2015-11-11 17:14:19 UTC (rev 66800)
@@ -222,7 +222,7 @@
import grass.script as grass
from grass.pygrass.utils import get_lib_path
-path = get_lib_path(modname='r.agent.aco', libname='libagent')
+path = get_lib_path(modname='r.agent', libname='libagent')
if path is None:
grass.fatal("Not able to find the agent library directory.")
sys.path.append(path)
Modified: grass-addons/grass7/raster/r.agent/r.agent.rand/r.agent.rand.py
===================================================================
--- grass-addons/grass7/raster/r.agent/r.agent.rand/r.agent.rand.py 2015-11-11 17:14:17 UTC (rev 66799)
+++ grass-addons/grass7/raster/r.agent/r.agent.rand/r.agent.rand.py 2015-11-11 17:14:19 UTC (rev 66800)
@@ -85,7 +85,7 @@
import grass.script as grass
from grass.pygrass.utils import get_lib_path
-path = get_lib_path(modname='r.agent.rand', libname='libagent')
+path = get_lib_path(modname='r.agent', libname='libagent')
if path is None:
grass.fatal("Not able to find the agent library directory.")
sys.path.append(path)
More information about the grass-commit
mailing list