[GRASS-SVN] r34282 - grass/trunk/lib/python
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Nov 14 06:21:57 EST 2008
Author: glynn
Date: 2008-11-14 06:21:57 -0500 (Fri, 14 Nov 2008)
New Revision: 34282
Modified:
grass/trunk/lib/python/grass.py
Log:
Fix bug in verbose() (need variable's value, not its name)
Modified: grass/trunk/lib/python/grass.py
===================================================================
--- grass/trunk/lib/python/grass.py 2008-11-14 11:21:14 UTC (rev 34281)
+++ grass/trunk/lib/python/grass.py 2008-11-14 11:21:57 UTC (rev 34282)
@@ -358,7 +358,7 @@
def verbosity():
"""Return the verbosity level selected by GRASS_VERBOSE"""
- vbstr = 'GRASS_VERBOSE'
+ vbstr = os.getenv('GRASS_VERBOSE')
if vbstr:
return int(vbstr)
else:
More information about the grass-commit
mailing list