[GRASS-SVN] r73708 - grass/trunk/lib/init
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Nov 25 07:29:34 PST 2018
Author: mmetz
Date: 2018-11-25 07:29:34 -0800 (Sun, 25 Nov 2018)
New Revision: 73708
Modified:
grass/trunk/lib/init/grass.py
Log:
libinit: fix r73707, clean_all() takes no arguments
Modified: grass/trunk/lib/init/grass.py
===================================================================
--- grass/trunk/lib/init/grass.py 2018-11-24 20:26:56 UTC (rev 73707)
+++ grass/trunk/lib/init/grass.py 2018-11-25 15:29:34 UTC (rev 73708)
@@ -2205,12 +2205,12 @@
# only non-error, interactive version continues from here
if batch_job:
returncode = run_batch_job(batch_job)
- clean_all(params.tmp_location)
+ clean_all()
sys.exit(returncode)
elif params.exit_grass:
# clean always at exit, cleans whatever is current mapset based on
# the GISRC env variable
- clean_all(params.tmp_location)
+ clean_all()
sys.exit(0)
else:
clear_screen()
@@ -2248,7 +2248,7 @@
# here we are at the end of grass session
clear_screen()
- clean_all(params.tmp_location)
+ clean_all()
if not params.tmp_location:
writefile(gisrcrc, readfile(gisrc))
# After this point no more grass modules may be called
More information about the grass-commit
mailing list