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

svn_grass at osgeo.org svn_grass at osgeo.org
Mon May 27 01:50:59 PDT 2013


Author: huhabla
Date: 2013-05-27 01:50:58 -0700 (Mon, 27 May 2013)
New Revision: 56429

Modified:
   grass/trunk/lib/python/temporal/mapcalc.py
   grass/trunk/lib/python/temporal/space_time_datasets.py
Log:
Fixed indention error


Modified: grass/trunk/lib/python/temporal/mapcalc.py
===================================================================
--- grass/trunk/lib/python/temporal/mapcalc.py	2013-05-27 08:24:25 UTC (rev 56428)
+++ grass/trunk/lib/python/temporal/mapcalc.py	2013-05-27 08:50:58 UTC (rev 56429)
@@ -303,8 +303,8 @@
             if proc_count == nprocs or proc_count == num:
                 proc_count = 0
                 exitcodes = 0
+                proc.join()
                 for proc in proc_list:
-                    proc.join()
                     exitcodes += proc.exitcode
 
                 if exitcodes != 0:

Modified: grass/trunk/lib/python/temporal/space_time_datasets.py
===================================================================
--- grass/trunk/lib/python/temporal/space_time_datasets.py	2013-05-27 08:24:25 UTC (rev 56428)
+++ grass/trunk/lib/python/temporal/space_time_datasets.py	2013-05-27 08:50:58 UTC (rev 56429)
@@ -583,8 +583,6 @@
         cols = int(kvp["cols"])
         depths = int(kvp["depths"])
 
-        ncells = cols * rows
-
         ncells = cols * rows * depths
 
         self.metadata.set_cols(cols)



More information about the grass-commit mailing list