[GRASS-SVN] r53716 - grass/trunk/lib/python

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Nov 6 16:04:25 PST 2012


Author: glynn
Date: 2012-11-06 16:04:25 -0800 (Tue, 06 Nov 2012)
New Revision: 53716

Modified:
   grass/trunk/lib/python/core.py
Log:
Fix infinite recursion


Modified: grass/trunk/lib/python/core.py
===================================================================
--- grass/trunk/lib/python/core.py	2012-11-06 17:46:20 UTC (rev 53715)
+++ grass/trunk/lib/python/core.py	2012-11-07 00:04:25 UTC (rev 53716)
@@ -1342,7 +1342,6 @@
     global _debug_level
     if _debug_level is not None:
         return _debug_level
+    _debug_level = 0
     if find_program('g.gisenv', ['--help']):
         _debug_level = int(gisenv().get('DEBUG', 0))
-    else:
-        _debug_level = 0



More information about the grass-commit mailing list