[GRASS-SVN] r60633 - grass/branches/releasebranch_7_0/lib/python/temporal

svn_grass at osgeo.org svn_grass at osgeo.org
Sat May 31 07:11:29 PDT 2014


Author: annakrat
Date: 2014-05-31 07:11:29 -0700 (Sat, 31 May 2014)
New Revision: 60633

Modified:
   grass/branches/releasebranch_7_0/lib/python/temporal/extract.py
Log:
t.rast.extract: fix bug when running parallel processes (merge from trunk, r60632)

Modified: grass/branches/releasebranch_7_0/lib/python/temporal/extract.py
===================================================================
--- grass/branches/releasebranch_7_0/lib/python/temporal/extract.py	2014-05-31 14:09:06 UTC (rev 60632)
+++ grass/branches/releasebranch_7_0/lib/python/temporal/extract.py	2014-05-31 14:11:29 UTC (rev 60633)
@@ -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