[GRASS-SVN] r74463 - grass/trunk/lib/python/pygrass/gis

svn_grass at osgeo.org svn_grass at osgeo.org
Sun May 5 12:05:29 PDT 2019


Author: neteler
Date: 2019-05-05 12:05:29 -0700 (Sun, 05 May 2019)
New Revision: 74463

Modified:
   grass/trunk/lib/python/pygrass/gis/region.py
Log:
pygrass.gis.Region.write(): fix typo in exception message (fixes #3830) (contributed by pmav99)

Modified: grass/trunk/lib/python/pygrass/gis/region.py
===================================================================
--- grass/trunk/lib/python/pygrass/gis/region.py	2019-05-05 18:24:53 UTC (rev 74462)
+++ grass/trunk/lib/python/pygrass/gis/region.py	2019-05-05 19:05:29 UTC (rev 74463)
@@ -569,7 +569,7 @@
         """
         self.adjust()
         if libgis.G_put_window(self.byref()) < 0:
-            raise GrassError("Cannot change region (DEFAUL_WIND file).")
+            raise GrassError("Cannot change region (WIND file).")
 
 
     def read_default(self):



More information about the grass-commit mailing list