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

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Nov 25 03:14:53 PST 2014


Author: lucadelu
Date: 2014-11-25 03:14:53 -0800 (Tue, 25 Nov 2014)
New Revision: 62928

Modified:
   grass/trunk/lib/python/pygrass/modules/grid/grid.py
Log:
pygrass grid: fix the right name parameter to remove raster

Modified: grass/trunk/lib/python/pygrass/modules/grid/grid.py
===================================================================
--- grass/trunk/lib/python/pygrass/modules/grid/grid.py	2014-11-25 11:06:17 UTC (rev 62927)
+++ grass/trunk/lib/python/pygrass/modules/grid/grid.py	2014-11-25 11:14:53 UTC (rev 62928)
@@ -598,4 +598,4 @@
         if self.inlist:
             grm = Module('g.remove')
             for key in self.inlist:
-                grm(flags='f', type='rast', pattern=self.inlist[key])
+                grm(flags='f', type='rast', name=self.inlist[key])



More information about the grass-commit mailing list