[GRASS-dev] [GRASS GIS] #3830: pygrass.gis.Region.write(): Typo in Exception message
GRASS GIS
trac at osgeo.org
Sun Apr 28 23:13:43 PDT 2019
#3830: pygrass.gis.Region.write(): Typo in Exception message
-------------------------+-------------------------
Reporter: pmav99 | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone:
Component: PyGRASS | Version: svn-trunk
Keywords: | CPU: Unspecified
Platform: Unspecified |
-------------------------+-------------------------
https://grass.osgeo.org/grass77/manuals/libpython/_modules/pygrass/gis/region.html#Region.write
{{{pygrass.gis.Region.write()}}} is calling {{{G_put_window}}} which
writes to {{{WIND}}}. The pygrass method though raises an Exception
mentioning {{{DEFAULT_WIND}}}. The following patch needs to be applied:
{{{
- raise GrassError("Cannot change region (DEFAUL_WIND file).")
+ raise GrassError("Cannot change region (WIND file).")
}}}
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3830>
GRASS GIS <https://grass.osgeo.org>
More information about the grass-dev
mailing list