[GRASS-SVN] r67641 - grass-addons/grass7/gui/wxpython/wx.mwprecip
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat Jan 23 08:56:37 PST 2016
Author: krejcmat
Date: 2016-01-23 08:56:37 -0800 (Sat, 23 Jan 2016)
New Revision: 67641
Modified:
grass-addons/grass7/gui/wxpython/wx.mwprecip/mw_util.py
Log:
addons g.gui.mwprecip: improve progress bar
Modified: grass-addons/grass7/gui/wxpython/wx.mwprecip/mw_util.py
===================================================================
--- grass-addons/grass7/gui/wxpython/wx.mwprecip/mw_util.py 2016-01-23 16:35:35 UTC (rev 67640)
+++ grass-addons/grass7/gui/wxpython/wx.mwprecip/mw_util.py 2016-01-23 16:56:37 UTC (rev 67641)
@@ -440,14 +440,13 @@
self.start = time.time()
self.startLast= self.start
self.logger.info("Measuring time - START: %s "%str(datetime.now()))
+ self.logger.info(msg)
else:
self.end = time.time()
elapsedTotal=self.end - self.start
elapsedLast=self.end-self.startLast
self.startLast=self.end
-
grass.percent(self.set_counter,self.total_count_step,1)
- self.logger.info("counter num < %s >"%(self.set_counter))
self.logger.info("TOTAL TIME < %s > : %s"%(msg,elapsedTotal))
self.logger.info("LAST PART TIME< %s > : %s"%(msg,elapsedLast))
More information about the grass-commit
mailing list