[GRASS-SVN] r74464 - grass/branches/releasebranch_7_6/lib/python/pygrass/gis

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


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

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