[GRASS-SVN] r61680 - grass/branches/releasebranch_7_0/lib/python/script

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Aug 18 12:04:44 PDT 2014


Author: wenzeslaus
Date: 2014-08-18 12:04:44 -0700 (Mon, 18 Aug 2014)
New Revision: 61680

Modified:
   grass/branches/releasebranch_7_0/lib/python/script/core.py
Log:
pythonlib/script: return debug level also for the first invocation (backport r61272)

Modified: grass/branches/releasebranch_7_0/lib/python/script/core.py
===================================================================
--- grass/branches/releasebranch_7_0/lib/python/script/core.py	2014-08-18 18:43:42 UTC (rev 61679)
+++ grass/branches/releasebranch_7_0/lib/python/script/core.py	2014-08-18 19:04:44 UTC (rev 61680)
@@ -1707,6 +1707,7 @@
     _debug_level = 0
     if find_program('g.gisenv', '--help'):
         _debug_level = int(gisenv().get('DEBUG', 0))
+    return _debug_level
 
 
 def legal_name(s):



More information about the grass-commit mailing list