[GRASS-SVN] r69392 - grass/trunk/lib/python/pygrass/modules/grid

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Sep 7 02:34:07 PDT 2016


Author: mlennert
Date: 2016-09-07 02:34:07 -0700 (Wed, 07 Sep 2016)
New Revision: 69392

Modified:
   grass/trunk/lib/python/pygrass/modules/grid/grid.py
Log:
pygrass grid: type=rast is now replaced by type=raster


Modified: grass/trunk/lib/python/pygrass/modules/grid/grid.py
===================================================================
--- grass/trunk/lib/python/pygrass/modules/grid/grid.py	2016-09-06 15:58:55 UTC (rev 69391)
+++ grass/trunk/lib/python/pygrass/modules/grid/grid.py	2016-09-07 09:34:07 UTC (rev 69392)
@@ -179,7 +179,7 @@
     dst = read_gisrc(gisrc_dst)
     rm = True if src[2] != dst[2] else False
     all_rasts = [r[0]
-                 for r in findmaps('rast', location=dst[1], gisdbase=dst[2])]
+                 for r in findmaps('raster', location=dst[1], gisdbase=dst[2])]
     for grp in groups:
         # change gisdbase to src
         env['GISRC'] = gisrc_src



More information about the grass-commit mailing list