[GRASS-SVN] r74465 - grass/branches/releasebranch_7_4/lib/python/pygrass/gis

svn_grass at osgeo.org svn_grass at osgeo.org
Sun May 5 12:06:56 PDT 2019


Author: neteler
Date: 2019-05-05 12:06:56 -0700 (Sun, 05 May 2019)
New Revision: 74465

Modified:
   grass/branches/releasebranch_7_4/lib/python/pygrass/gis/region.py
Log:
pygrass.gis.Region.write(): fix typo in exception message (backport from trunk, r74463, see #3830) (contributed by pmav99)

Modified: grass/branches/releasebranch_7_4/lib/python/pygrass/gis/region.py
===================================================================
--- grass/branches/releasebranch_7_4/lib/python/pygrass/gis/region.py	2019-05-05 19:06:40 UTC (rev 74464)
+++ grass/branches/releasebranch_7_4/lib/python/pygrass/gis/region.py	2019-05-05 19:06:56 UTC (rev 74465)
@@ -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