[GRASS-SVN] r73198 - grass/trunk/lib/init
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Aug 27 19:43:53 PDT 2018
Author: wenzeslaus
Date: 2018-08-27 19:43:53 -0700 (Mon, 27 Aug 2018)
New Revision: 73198
Modified:
grass/trunk/lib/init/grass.py
Log:
init: these two messages are not either-or
Modified: grass/trunk/lib/init/grass.py
===================================================================
--- grass/trunk/lib/init/grass.py 2018-08-28 02:40:46 UTC (rev 73197)
+++ grass/trunk/lib/init/grass.py 2018-08-28 02:43:53 UTC (rev 73198)
@@ -940,6 +940,7 @@
# want to create anything new
fatal(get_mapset_invalid_reason(gisdbase, location_name, mapset))
else:
+ message(_("Creating new GRASS GIS location/mapset..."))
# 'path' is not valid and the user wants to create
# mapset on the fly
# check if 'location_name' is a valid GRASS location
@@ -1982,10 +1983,7 @@
# (measured by presence of rc file)
clean_temp()
- if params.create_new:
- message(_("Creating new GRASS GIS location/mapset..."))
- else:
- message(_("Starting GRASS GIS..."))
+ message(_("Starting GRASS GIS..."))
# Ensure GUI is set
if batch_job or params.exit_grass:
More information about the grass-commit
mailing list