[GRASS-SVN] r54971 - grass/trunk/scripts/r.in.wms

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Feb 7 06:22:28 PST 2013


Author: martinl
Date: 2013-02-07 06:22:28 -0800 (Thu, 07 Feb 2013)
New Revision: 54971

Modified:
   grass/trunk/scripts/r.in.wms/wms_base.py
Log:
r.in.wms: debug message cosmetics


Modified: grass/trunk/scripts/r.in.wms/wms_base.py
===================================================================
--- grass/trunk/scripts/r.in.wms/wms_base.py	2013-02-07 14:17:03 UTC (rev 54970)
+++ grass/trunk/scripts/r.in.wms/wms_base.py	2013-02-07 14:22:28 UTC (rev 54971)
@@ -181,7 +181,6 @@
     def _fetchCapabilities(self, options): 
         """!Download capabilities from WMS server
         """
-        grass.debug('Fetching capabilities file.')
         cap_url = options['url']
 
         if 'WMTS' in options['driver']:
@@ -190,7 +189,7 @@
             cap_url += "?REQUEST=GetTileService"
         else:
             cap_url += "?SERVICE=WMS&REQUEST=GetCapabilities&VERSION=" + options['wms_version'] 
-            
+        grass.debug('Fetching capabilities file.\n%s' % cap_url)
         try:
             cap = self._fetchDataFromServer(cap_url, options['username'], options['password'])
         except (IOError, HTTPException), e:



More information about the grass-commit mailing list