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

Paulo van Breugel p.vanbreugel at gmail.com
Mon Mar 28 01:48:36 PDT 2016


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20160328/16e57eee/attachment.html>


More information about the grass-dev mailing list