Browse Source

Fixed indention error

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@56429 15284696-431f-4ddb-bdfa-cd5b030d7da7
Soeren Gebbert 12 years ago
parent
commit
0748c0efce
2 changed files with 1 additions and 3 deletions
  1. 1 1
      lib/python/temporal/mapcalc.py
  2. 0 2
      lib/python/temporal/space_time_datasets.py

+ 1 - 1
lib/python/temporal/mapcalc.py

@@ -303,8 +303,8 @@ def dataset_mapcalculator(inputs, output, type, expression, base, method,
             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:

+ 0 - 2
lib/python/temporal/space_time_datasets.py

@@ -583,8 +583,6 @@ class Raster3DDataset(AbstractMapDataset):
         cols = int(kvp["cols"])
         depths = int(kvp["depths"])
 
-        ncells = cols * rows
-
         ncells = cols * rows * depths
 
         self.metadata.set_cols(cols)