[GRASS-SVN] r44280 - grass-addons/raster/r.ipso

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Nov 9 06:46:12 EST 2010


Author: madi
Date: 2010-11-09 03:46:12 -0800 (Tue, 09 Nov 2010)
New Revision: 44280

Modified:
   grass-addons/raster/r.ipso/r.ipso.py
Log:
cosmetics

Modified: grass-addons/raster/r.ipso/r.ipso.py
===================================================================
--- grass-addons/raster/r.ipso/r.ipso.py	2010-11-09 11:44:29 UTC (rev 44279)
+++ grass-addons/raster/r.ipso/r.ipso.py	2010-11-09 11:46:12 UTC (rev 44280)
@@ -15,7 +15,7 @@
 #               for details.
 #
 # REQUIRES:     Matplotlib
-#                 http://matplotlib.sourceforge.net/
+#               http://matplotlib.sourceforge.net/
 #               
 #
 ################################################################################
@@ -67,7 +67,7 @@
         if i == 0:
             zn[i,0], zn[i, 1] = map(float, stats[i].split(' '))
             zn[i,2] = zn[i,1]
-        if i != 0:
+        else:
             zn[i,0], zn[i, 1] = map(float, stats[i].split(' '))
             zn[i,2] = zn[i,1] + zn[i-1,2]
 



More information about the grass-commit mailing list