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.
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.