[GRASS-SVN] r69410 - grass/branches/releasebranch_7_2/lib/python/pygrass/modules/grid

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Sep 8 06:07:34 PDT 2016


Author: neteler
Date: 2016-09-08 06:07:34 -0700 (Thu, 08 Sep 2016)
New Revision: 69410

Modified:
   grass/branches/releasebranch_7_2/lib/python/pygrass/modules/grid/grid.py
Log:
pygrass grid: type=rast is now replaced by type=raster (trunk, r69392)

Modified: grass/branches/releasebranch_7_2/lib/python/pygrass/modules/grid/grid.py
===================================================================
--- grass/branches/releasebranch_7_2/lib/python/pygrass/modules/grid/grid.py	2016-09-08 12:50:42 UTC (rev 69409)
+++ grass/branches/releasebranch_7_2/lib/python/pygrass/modules/grid/grid.py	2016-09-08 13:07:34 UTC (rev 69410)
@@ -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