[GRASS-SVN] r69416 - grass/branches/releasebranch_7_0/lib/python/pygrass/modules/grid

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Sep 9 01:15:33 PDT 2016


Author: neteler
Date: 2016-09-09 01:15:33 -0700 (Fri, 09 Sep 2016)
New Revision: 69416

Modified:
   grass/branches/releasebranch_7_0/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_0/lib/python/pygrass/modules/grid/grid.py
===================================================================
--- grass/branches/releasebranch_7_0/lib/python/pygrass/modules/grid/grid.py	2016-09-09 08:00:40 UTC (rev 69415)
+++ grass/branches/releasebranch_7_0/lib/python/pygrass/modules/grid/grid.py	2016-09-09 08:15:33 UTC (rev 69416)
@@ -173,7 +173,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