On Mon, Dec 15, 2014 at 3:40 AM, <svn_grass@osgeo.org> wrote:
grass.read_command('g.region', flags = 'p', region = 'original')
+ grass.run_command('g.remove', flags = 'f', type = 'region', name =
'original')
I think it would be better to use use_temp_region() and del_temp_region()
functions from grass.script. grep source code for usage; please extend
their doc if you have something.
Vaclav
http://grass.osgeo.org/grass71/manuals/libpython/script.html#script.core.use_temp_region
http://grass.osgeo.org/grass71/manuals/libpython/script.html#script.core.del_temp_region
http://trac.osgeo.org/grass/changeset/63549