[GRASS-SVN] r65325 - grass/trunk/gui/wxpython/core

svn_grass at osgeo.org svn_grass at osgeo.org
Tue May 26 05:32:38 PDT 2015


Author: martinl
Date: 2015-05-26 05:32:38 -0700 (Tue, 26 May 2015)
New Revision: 65325

Modified:
   grass/trunk/gui/wxpython/core/render.py
Log:
wxGUI: fix debug message syntax ('command' can be list of commands)

Modified: grass/trunk/gui/wxpython/core/render.py
===================================================================
--- grass/trunk/gui/wxpython/core/render.py	2015-05-26 12:29:11 UTC (rev 65324)
+++ grass/trunk/gui/wxpython/core/render.py	2015-05-26 12:32:38 UTC (rev 65325)
@@ -1152,7 +1152,7 @@
         self._addLayer(layer, pos)
         
         renderMgr = layer.GetRenderMgr()
-        Debug.msg(1, "Map.AddLayer(): ltype={}, command={}".format(ltype, ' '.join(command)))
+        Debug.msg(1, "Map.AddLayer(): ltype={}, command={}".format(ltype, layer.GetCmd(string=True)))
         if renderMgr:
             if layer.type == 'wms':
                 renderMgr.dataFetched.connect(self.renderMgr.ReportProgress)



More information about the grass-commit mailing list