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.
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev