[GRASS-SVN] r52147 - grass/trunk/scripts/r3.in.xyz

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Jun 19 18:02:05 PDT 2012


Author: hamish
Date: 2012-06-19 18:02:05 -0700 (Tue, 19 Jun 2012)
New Revision: 52147

Modified:
   grass/trunk/scripts/r3.in.xyz/r3.in.xyz.py
Log:
cut & pasted too much, part 2

Modified: grass/trunk/scripts/r3.in.xyz/r3.in.xyz.py
===================================================================
--- grass/trunk/scripts/r3.in.xyz/r3.in.xyz.py	2012-06-20 01:00:32 UTC (rev 52146)
+++ grass/trunk/scripts/r3.in.xyz/r3.in.xyz.py	2012-06-20 01:02:05 UTC (rev 52147)
@@ -256,10 +256,10 @@
 
 
     # wait for jobs to finish, collect any stray output
-    for p_i in range(1, 1 + depths):
-	if not proc[p_i].stdout.closed:
-	    pout[p_i] = proc[p_i].communicate()[0]
-	if proc[p_i].wait() is not 0:
+    for i in range(1, 1 + depths):
+	if not proc[i].stdout.closed:
+	    pout[i] = proc[i].communicate()[0]
+	if proc[i].wait() is not 0:
 	    grass.fatal(_("Trouble importing data. Aborting."))
 
     del proc



More information about the grass-commit mailing list