瀏覽代碼

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 8 年之前
父節點
當前提交
380e3ebdb3
共有 1 個文件被更改,包括 1 次插入1 次删除
  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