[GRASS-SVN] r62780 - grass/branches/releasebranch_7_0/tools

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Nov 17 15:03:00 PST 2014


Author: neteler
Date: 2014-11-17 15:03:00 -0800 (Mon, 17 Nov 2014)
New Revision: 62780

Modified:
   grass/branches/releasebranch_7_0/tools/thumbnails.py
Log:
thumbnails tool: minor sync to trunk

Modified: grass/branches/releasebranch_7_0/tools/thumbnails.py
===================================================================
--- grass/branches/releasebranch_7_0/tools/thumbnails.py	2014-11-17 23:01:01 UTC (rev 62779)
+++ grass/branches/releasebranch_7_0/tools/thumbnails.py	2014-11-17 23:03:00 UTC (rev 62780)
@@ -30,9 +30,11 @@
     if tmp_img:
         grass.try_remove(tmp_img)
     if tmp_grad_rel:
-        grass.run_command('g.remove', type = 'rast', name = tmp_grad_rel, quiet = True, flags = 'f')
+        grass.run_command('g.remove', flags = 'f', type = 'rast',
+                          name = tmp_grad_rel, quiet = True)
     if tmp_grad_abs:
-        grass.run_command('g.remove', type = 'rast', name = tmp_grad_abs, quiet = True, flags = 'f')
+        grass.run_command('g.remove', flags = 'f', type = 'rast',
+                          name = tmp_grad_abs, quiet = True)
 
 # def rotate(src, dst):
 #     grass.call(["convert", "-rotate", "90", src, dst])



More information about the grass-commit mailing list