[GRASS-SVN] r63970 - grass-addons/grass7/raster/r.random.weight

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Jan 6 14:14:12 PST 2015


Author: pvanbosgeo
Date: 2015-01-06 14:14:11 -0800 (Tue, 06 Jan 2015)
New Revision: 63970

Modified:
   grass-addons/grass7/raster/r.random.weight/r.random.weight.py
Log:
small correction syntax error

Modified: grass-addons/grass7/raster/r.random.weight/r.random.weight.py
===================================================================
--- grass-addons/grass7/raster/r.random.weight/r.random.weight.py	2015-01-06 22:09:48 UTC (rev 63969)
+++ grass-addons/grass7/raster/r.random.weight/r.random.weight.py	2015-01-06 22:14:11 UTC (rev 63970)
@@ -105,7 +105,7 @@
        
     # setup temporary files and seed
     tmp_map = "r_w_rand_" + str(uuid.uuid4())
-            tmp_map = string.replace(tmpf0, '-', '_')
+    tmp_map = string.replace(tmp_map, '-', '_')
     
     # Compute minimum and maximum value raster
     minmax = grass.parse_command('r.univar', 



More information about the grass-commit mailing list