[GRASS-SVN] r56986 - grass-addons/grass6/raster/r.in.wms2

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Jul 2 14:33:18 PDT 2013


Author: hamish
Date: 2013-07-02 14:33:18 -0700 (Tue, 02 Jul 2013)
New Revision: 56986

Modified:
   grass-addons/grass6/raster/r.in.wms2/wms_base.py
Log:
quieten m.proj, add a done message

Modified: grass-addons/grass6/raster/r.in.wms2/wms_base.py
===================================================================
--- grass-addons/grass6/raster/r.in.wms2/wms_base.py	2013-07-02 18:48:37 UTC (rev 56985)
+++ grass-addons/grass6/raster/r.in.wms2/wms_base.py	2013-07-02 21:33:18 UTC (rev 56986)
@@ -271,7 +271,8 @@
             points = grass.read_command('m.proj', flags = 'd',
                                         proj_out = self.proj_srs,
                                         proj_in = self.proj_location,
-                                        input = temp_region) # TODO: stdin
+                                        input = temp_region,
+                                        quiet = True) # TODO: stdin
             grass.try_remove(temp_region)
             if not points:
                 grass.fatal(_("Unable to determine region, %s failed") % 'm.proj')
@@ -489,7 +490,9 @@
                                  output = self.opt_output ) != 0:
                 grass.fatal(_('%s failed') % 'r.composite')
 
+        grass.message(_('<%s> created.') % self.opt_output)
 
+
 class WMSDriversInfo:
     def __init__(self):
         """!Provides information about driver parameters.



More information about the grass-commit mailing list