[GRASS-SVN] r69193 - grass-addons/grass7/raster/r.agent/r.agent.rand
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Aug 21 12:35:32 PDT 2016
Author: martinl
Date: 2016-08-21 12:35:32 -0700 (Sun, 21 Aug 2016)
New Revision: 69193
Modified:
grass-addons/grass7/raster/r.agent/r.agent.rand/r.agent.rand.py
Log:
r.agent: another attempt to fix compilation (see #2480)
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 2016-08-21 19:34:18 UTC (rev 69192)
+++ grass-addons/grass7/raster/r.agent/r.agent.rand/r.agent.rand.py 2016-08-21 19:35:32 UTC (rev 69193)
@@ -88,7 +88,7 @@
except ImportError:
raise error.EnvError("r.agent.rand:", "Please run inside GRASS.")
-from grass.pygrass.utils import get_lib_path
+from grass.pygrass.utils import set_path
set_path('r.agent', 'libagent', '..')
from libagent import error, grassland, world
More information about the grass-commit
mailing list