[GRASS-dev] correction typo on pygrass sample pygrass scripts manual page

typo on https://grasswiki.osgeo.org/wiki/Python/pygrass#Sample_PyGRASS_scripts

Under the header “Interface to listing maps (g.list/g.mlist)”, second example with “glist” method of the Mapset class, it reads:

m.glist('rast', pattern='elev-*')

This perhaps works for GRASS 6.4, but for GRASS 7.0 the first argument should be ‘raster’. In the example above, the syntax for both 6.4 and 7.0 is given.

Hi Paulo,

On Mon, Mar 28, 2016 at 10:48 AM, Paulo van Breugel
<p.vanbreugel@gmail.com> wrote:

typo on
https://grasswiki.osgeo.org/wiki/Python/pygrass#Sample_PyGRASS_scripts

Under the header "Interface to listing maps (g.list/g.mlist)", second
example with "glist" method of the Mapset class, it reads:

m.glist('rast', pattern='elev-*')

This perhaps works for GRASS 6.4, but for GRASS 7.0 the first argument
should be 'raster'. In the example above, the syntax for both 6.4 and 7.0 is
given.

Pygrass is not available in grass64, so I fix it, the code was written
before the change in grass70.
Please feel free to fix these erorrs.

Pietro