[GRASS-SVN] r54705 - grass-addons/grass7/raster/r.agent/libagent

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Jan 18 14:02:47 PST 2013


Author: mic
Date: 2013-01-18 14:02:47 -0800 (Fri, 18 Jan 2013)
New Revision: 54705

Modified:
   grass-addons/grass7/raster/r.agent/libagent/grassland.py
Log:
improve documentation

Modified: grass-addons/grass7/raster/r.agent/libagent/grassland.py
===================================================================
--- grass-addons/grass7/raster/r.agent/libagent/grassland.py	2013-01-18 22:02:02 UTC (rev 54704)
+++ grass-addons/grass7/raster/r.agent/libagent/grassland.py	2013-01-18 22:02:47 UTC (rev 54705)
@@ -42,8 +42,8 @@
         """
         Create a new layer and add it to the layer collection
         @param string name of the layer
-        @param string name of a GRASS map layer or False if layer is only local
-        @param boolean whether to overwrite an existing layer
+        @param string optional name of a GRASS map layer (False if only local)
+        @param boolean optional, whether to overwrite an existing layer
         """
         layer = garray.array()
         if grassmapname:
@@ -65,7 +65,7 @@
         Write out a given layer to a GRASS map file
         @param string name of the layer to be exported
         @param string optional name of the GRASS map file to be created
-        @param boolean whether an existing file may be overwritten
+        @param boolean optional, whether an existing file may be overwritten
         """
         #TODO implement
         if self.layers.has_key(layername) and \



More information about the grass-commit mailing list