Explorar o código

pygrass grid: type=rast is now replaced by type=raster

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@69392 15284696-431f-4ddb-bdfa-cd5b030d7da7
Moritz Lennert %!s(int64=8) %!d(string=hai) anos
pai
achega
380e3ebdb3
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      lib/python/pygrass/modules/grid/grid.py

+ 1 - 1
lib/python/pygrass/modules/grid/grid.py

@@ -179,7 +179,7 @@ def copy_groups(groups, gisrc_src, gisrc_dst, region=None):
     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