[GRASS-SVN] r60632 - grass/trunk/lib/python/temporal

svn_grass at osgeo.org svn_grass at osgeo.org
Sat May 31 07:09:06 PDT 2014


Author: annakrat
Date: 2014-05-31 07:09:06 -0700 (Sat, 31 May 2014)
New Revision: 60632

Modified:
   grass/trunk/lib/python/temporal/extract.py
Log:
t.rast.extract: fix bug when running parallel processes

Modified: grass/trunk/lib/python/temporal/extract.py
===================================================================
--- grass/trunk/lib/python/temporal/extract.py	2014-05-31 12:25:47 UTC (rev 60631)
+++ grass/trunk/lib/python/temporal/extract.py	2014-05-31 14:09:06 UTC (rev 60632)
@@ -146,7 +146,7 @@
 
                 # Join processes if the maximum number of processes are
                 # reached or the end of the loop is reached
-                if proc_count == nprocs or proc_count == num_rows:
+                if proc_count == nprocs or count == num_rows:
                     proc_count = 0
                     exitcodes = 0
                     for proc in proc_list:



More information about the grass-commit mailing list