[GRASS-SVN] r30311 - grass/trunk/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Feb 23 15:06:53 EST 2008


Author: martinl
Date: 2008-02-23 15:06:53 -0500 (Sat, 23 Feb 2008)
New Revision: 30311

Modified:
   grass/trunk/gui/wxpython/gui_modules/digit.py
Log:
wxGUI: debug message cleaning, digit.CDisplayDriver.DrawMap()

Modified: grass/trunk/gui/wxpython/gui_modules/digit.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/digit.py	2008-02-23 18:21:45 UTC (rev 30310)
+++ grass/trunk/gui/wxpython/gui_modules/digit.py	2008-02-23 20:06:53 UTC (rev 30311)
@@ -1191,12 +1191,8 @@
 
         @return wx.Image instance
         """
-        import time
-        start = time.clock()
         nlines = self.__display.DrawMap(True) # force
-        stop = time.clock()
-        Debug.msg(3, "CDisplayDriver.DrawMap(): nlines=%d, sec=%f" % \
-                      (nlines, stop-start))
+        Debug.msg(3, "CDisplayDriver.DrawMap(): nlines=%d" % nlines)
 
         return nlines
 



More information about the grass-commit mailing list