[GRASS-SVN] r52144 - grass/trunk/scripts/r3.in.xyz
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Jun 19 17:47:21 PDT 2012
Author: hamish
Date: 2012-06-19 17:47:21 -0700 (Tue, 19 Jun 2012)
New Revision: 52144
Modified:
grass/trunk/scripts/r3.in.xyz/r3.in.xyz.py
Log:
pid in mremove map name
Modified: grass/trunk/scripts/r3.in.xyz/r3.in.xyz.py
===================================================================
--- grass/trunk/scripts/r3.in.xyz/r3.in.xyz.py 2012-06-20 00:42:25 UTC (rev 52143)
+++ grass/trunk/scripts/r3.in.xyz/r3.in.xyz.py 2012-06-20 00:47:21 UTC (rev 52144)
@@ -154,8 +154,8 @@
def cleanup():
- # FIXME for pid and regex
- grass.run_command('g.mremove', flags = 'f', rast = 'tmp.r3xyz.$$.*', quiet = True)
+ grass.run_command('g.mremove', flags = 'f', rast = 'tmp.r3xyz.%d.*' % os.getpid(),
+ quiet = True)
def main():
More information about the grass-commit
mailing list