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

svn_grass at osgeo.org svn_grass at osgeo.org
Fri May 21 06:31:27 EDT 2010


Author: hamish
Date: 2010-05-21 06:31:25 -0400 (Fri, 21 May 2010)
New Revision: 42330

Modified:
   grass/trunk/scripts/r.in.wms/wms_parse.py
Log:
make layer list easier to read

Modified: grass/trunk/scripts/r.in.wms/wms_parse.py
===================================================================
--- grass/trunk/scripts/r.in.wms/wms_parse.py	2010-05-21 10:26:37 UTC (rev 42329)
+++ grass/trunk/scripts/r.in.wms/wms_parse.py	2010-05-21 10:31:25 UTC (rev 42330)
@@ -69,7 +69,8 @@
     def getLayers(self):
         """Print list of layers"""
         for ly in self.layers:
-            if ly.has_key('name'):
+            print "\n\n-=-=-=-=-=-\n"
+	    if ly.has_key('name'):
                 print "LAYER: " + ly['name']
             else:
                 print "LAYER: unknown"



More information about the grass-commit mailing list