[GRASS-dev] [GRASS GIS] #3830: pygrass.gis.Region.write(): Typo in Exception message

#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&gt;
GRASS GIS <https://grass.osgeo.org>

#3830: pygrass.gis.Region.write(): Typo in Exception message
--------------------------+-------------------------
  Reporter: pmav99 | Owner: grass-dev@…
      Type: defect | Status: closed
  Priority: normal | Milestone:
Component: PyGRASS | Version: svn-trunk
Resolution: fixed | Keywords:
       CPU: Unspecified | Platform: Unspecified
--------------------------+-------------------------
Changes (by neteler):

* status: new => closed
* resolution: => fixed

Comment:

In [changeset:"74463" 74463]:
{{{
#!CommitTicketReference repository="" revision="74463"
pygrass.gis.Region.write(): fix typo in exception message (fixes #3830)
(contributed by pmav99)
}}}

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3830#comment:1&gt;
GRASS GIS <https://grass.osgeo.org>

#3830: pygrass.gis.Region.write(): Typo in Exception message
--------------------------+-------------------------
  Reporter: pmav99 | Owner: grass-dev@…
      Type: defect | Status: closed
  Priority: normal | Milestone:
Component: PyGRASS | Version: svn-trunk
Resolution: fixed | Keywords:
       CPU: Unspecified | Platform: Unspecified
--------------------------+-------------------------

Comment (by neteler):

In [changeset:"74464" 74464]:
{{{
#!CommitTicketReference repository="" revision="74464"
pygrass.gis.Region.write(): fix typo in exception message (backport from
trunk, r74463, see #3830) (contributed by pmav99)
}}}

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3830#comment:2&gt;
GRASS GIS <https://grass.osgeo.org>

#3830: pygrass.gis.Region.write(): Typo in Exception message
--------------------------+-------------------------
  Reporter: pmav99 | Owner: grass-dev@…
      Type: defect | Status: closed
  Priority: normal | Milestone:
Component: PyGRASS | Version: svn-trunk
Resolution: fixed | Keywords:
       CPU: Unspecified | Platform: Unspecified
--------------------------+-------------------------

Comment (by neteler):

In [changeset:"74465" 74465]:
{{{
#!CommitTicketReference repository="" revision="74465"
pygrass.gis.Region.write(): fix typo in exception message (backport from
trunk, r74463, see #3830) (contributed by pmav99)
}}}

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3830#comment:3&gt;
GRASS GIS <https://grass.osgeo.org>