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

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Jul 2 04:34:08 PDT 2013


Author: hamish
Date: 2013-07-02 04:34:07 -0700 (Tue, 02 Jul 2013)
New Revision: 56972

Modified:
   grass-addons/grass6/raster/r.in.wms2/wms_base.py
Log:
safer newline removal

Modified: grass-addons/grass6/raster/r.in.wms2/wms_base.py
===================================================================
--- grass-addons/grass6/raster/r.in.wms2/wms_base.py	2013-07-02 11:30:46 UTC (rev 56971)
+++ grass-addons/grass6/raster/r.in.wms2/wms_base.py	2013-07-02 11:34:07 UTC (rev 56972)
@@ -232,7 +232,7 @@
         # print to output
         cap_lines = cap.readlines()
         for line in cap_lines: 
-            print line,
+            print line.rstrip()
         
     def _computeBbox(self):
         """!Get region extent for WMS query (bbox)



More information about the grass-commit mailing list