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

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Feb 3 04:46:50 PST 2015


Author: neteler
Date: 2015-02-03 04:46:50 -0800 (Tue, 03 Feb 2015)
New Revision: 64418

Modified:
   grass/trunk/lib/init/grass.py
Log:
startup: cleanup of r64408

Modified: grass/trunk/lib/init/grass.py
===================================================================
--- grass/trunk/lib/init/grass.py	2015-02-03 12:07:03 UTC (rev 64417)
+++ grass/trunk/lib/init/grass.py	2015-02-03 12:46:50 UTC (rev 64418)
@@ -1377,11 +1377,11 @@
 # First time user - GISRC is defined in the GRASS script
 if not os.access(gisrc, os.F_OK):
     if grass_gui == 'text' and len(args) == 0:
-        fatal(_("Unable to start GRASS. You can:\n"
-                " - Launch GRASS with '-gui' switch (`grass71 -gui`)\n"
-                " - Create manually GISRC file (%s)\n"
-                " - Launch GRASS with path to "
-                "the location/mapset as an argument (`grass71 /path/to/location/mapset`)") % gisrcrc)
+        fatal(_("Unable to start GRASS GIS. You have the choice to:\n"
+                " - Launch the GRASS GIS interface with the '-gui' switch (`%s -gui`)\n"
+                " - Launch GRASS GIS directly with path to "
+                "the location/mapset as an argument (`%s /path/to/location/mapset`)\n"
+                " - Create manually the GISRC file (%s)") % (cmd_name, cmd_name, gisrcrc))
     create_initial_gisrc()
 else:
     clean_temp()



More information about the grass-commit mailing list