[GRASS-SVN] r42774 - grass-addons/LandDyn/r.catchment.py

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Jul 12 16:08:21 EDT 2010


Author: isaacullah
Date: 2010-07-12 20:08:21 +0000 (Mon, 12 Jul 2010)
New Revision: 42774

Modified:
   grass-addons/LandDyn/r.catchment.py/r.catchment.py
Log:
fixed a minor typo that could have had potentially bad effects!

Modified: grass-addons/LandDyn/r.catchment.py/r.catchment.py
===================================================================
--- grass-addons/LandDyn/r.catchment.py/r.catchment.py	2010-07-12 20:03:09 UTC (rev 42773)
+++ grass-addons/LandDyn/r.catchment.py/r.catchment.py	2010-07-12 20:08:21 UTC (rev 42774)
@@ -234,7 +234,7 @@
     else:
         grass.message('\n\nCalculating buffer\n')
         areadict = {}
-        out2dictnum('r.stats -a -n input=' + cost + ' fs=, nv=* nsteps=255', ',', areadict)
+        out2dictnum('r.stats -Aani input=' + cost + ' fs=, nv=* nsteps=255', ',', areadict)
         tot_area = 0
         for key in sorted(areadict):
             tot_area = tot_area + int(float(areadict[key]))



More information about the grass-commit mailing list