浏览代码

pygrass.gis.Region.write(): fix typo in exception message (fixes https://trac.osgeo.org/grass/ticket/3830) (contributed by pmav99)

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@74463 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Neteler 6 年之前
父节点
当前提交
78e4b44e3a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lib/python/pygrass/gis/region.py

+ 1 - 1
lib/python/pygrass/gis/region.py

@@ -569,7 +569,7 @@ class Region(object):
         """
         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):