Преглед изворни кода

thumbnails tool: minor sync to trunk

git-svn-id: https://svn.osgeo.org/grass/grass/branches/releasebranch_7_0@62780 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Neteler пре 10 година
родитељ
комит
ae261ce263
1 измењених фајлова са 4 додато и 2 уклоњено
  1. 4 2
      tools/thumbnails.py

+ 4 - 2
tools/thumbnails.py

@@ -30,9 +30,11 @@ def cleanup():
     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])