[GRASS-SVN] r53500 - grass/trunk/lib/init
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Oct 19 07:25:53 PDT 2012
Author: martinl
Date: 2012-10-19 07:25:52 -0700 (Fri, 19 Oct 2012)
New Revision: 53500
Modified:
grass/trunk/lib/init/grass.py
Log:
init: set language before set_data()
Modified: grass/trunk/lib/init/grass.py
===================================================================
--- grass/trunk/lib/init/grass.py 2012-10-19 13:49:51 UTC (rev 53499)
+++ grass/trunk/lib/init/grass.py 2012-10-19 14:25:52 UTC (rev 53500)
@@ -1161,6 +1161,12 @@
else:
non_interactive(args[0])
+# Set shell
+check_shell()
+
+# Set language
+set_language()
+
# User selects LOCATION and MAPSET if not set
set_data()
@@ -1178,11 +1184,6 @@
if not os.access(os.path.join(location, "VAR"), os.F_OK):
call(['db.connect', '-c', '--quiet'])
-check_shell()
-
-# Set language
-set_language()
-
check_batch_job()
if not batch_job:
More information about the grass-commit
mailing list