Sfoglia il codice sorgente

cut & pasted too much, part 2

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@52147 15284696-431f-4ddb-bdfa-cd5b030d7da7
Hamish Bowman 13 anni fa
parent
commit
d722d628e9
1 ha cambiato i file con 4 aggiunte e 4 eliminazioni
  1. 4 4
      scripts/r3.in.xyz/r3.in.xyz.py

+ 4 - 4
scripts/r3.in.xyz/r3.in.xyz.py

@@ -256,10 +256,10 @@ def main():
 
 
     # 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