[GRASS-SVN] r39090 - grass-addons/vector/v.autokrige

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Sep 9 01:06:08 EDT 2009


Author: hamish
Date: 2009-09-09 01:06:08 -0400 (Wed, 09 Sep 2009)
New Revision: 39090

Modified:
   grass-addons/vector/v.autokrige/v.autokrige.py
Log:
GRASS_VERBOSE is an OS environment variable not a GIS variable

Modified: grass-addons/vector/v.autokrige/v.autokrige.py
===================================================================
--- grass-addons/vector/v.autokrige/v.autokrige.py	2009-09-09 04:16:07 UTC (rev 39089)
+++ grass-addons/vector/v.autokrige/v.autokrige.py	2009-09-09 05:06:08 UTC (rev 39090)
@@ -318,7 +318,7 @@
             grass.error(message)
         elif type == 'warning':
             grass.warning(message)
-        elif type == 'info' and grass.gisenv()['GRASS_VERBOSE'] > 0:
+        elif type == 'info' and os.getenv('GRASS_VERBOSE') > 0:
             grass.info(message)
     
     def checkLayers(self, input, output, testVarianceRast = False):



More information about the grass-commit mailing list