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

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Mar 27 08:41:59 PDT 2013


Author: mic
Date: 2013-03-27 08:41:58 -0700 (Wed, 27 Mar 2013)
New Revision: 55559

Modified:
   grass-addons/grass7/raster/r.agent/libagent/grassland.py
Log:
fix error msg

Modified: grass-addons/grass7/raster/r.agent/libagent/grassland.py
===================================================================
--- grass-addons/grass7/raster/r.agent/libagent/grassland.py	2013-03-27 15:41:18 UTC (rev 55558)
+++ grass-addons/grass7/raster/r.agent/libagent/grassland.py	2013-03-27 15:41:58 UTC (rev 55559)
@@ -22,7 +22,7 @@
         self.grassmapnames = dict()
         self.region = grass.region()
         if self.region['ewres'] != self.region['nsres']:
-            raise error.DataError("r.agent::libagent.playground.Playground()",
+            raise error.DataError("r.agent::libagent.grassland.Grassland()",
                                     "Only square raster cells make sense.")
 
     def setgrasslayer(self, layername, grassmapname, force=False):



More information about the grass-commit mailing list