[GRASS-SVN] r60147 - grass/trunk/lib/init

svn_grass at osgeo.org svn_grass at osgeo.org
Wed May 7 09:07:55 PDT 2014


Author: neteler
Date: 2014-05-07 09:07:55 -0700 (Wed, 07 May 2014)
New Revision: 60147

Modified:
   grass/trunk/lib/init/grass.py
Log:
start script: cosmetics for r60146

Modified: grass/trunk/lib/init/grass.py
===================================================================
--- grass/trunk/lib/init/grass.py	2014-05-07 14:10:49 UTC (rev 60146)
+++ grass/trunk/lib/init/grass.py	2014-05-07 16:07:55 UTC (rev 60147)
@@ -987,7 +987,7 @@
     # TODO: uncomment when PDCurses works.
     #   cls
     else:
-        if not os.getenv('GRASS_BATCH_JOB') and not grass_debug:
+        if not os.getenv('GRASS_BATCH_JOB') and not grass_debug and not exit_grass:
             call(["tput", "clear"])
 
 
@@ -1380,7 +1380,10 @@
 else:
     clean_temp()
 
-message(_("Starting GRASS GIS..."))
+if create_new:
+    message(_("Creating new GRASS GIS location/mapset..."))
+else:
+    message(_("Starting GRASS GIS..."))
 
 # Check that the GUI works
 check_gui()



More information about the grass-commit mailing list