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

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Jul 31 13:22:43 EDT 2008


Author: martinl
Date: 2008-07-31 13:22:43 -0400 (Thu, 31 Jul 2008)
New Revision: 32407

Modified:
   grass/trunk/gui/wxpython/gui_modules/goutput.py
Log:
wxGUI: postpone wxCmdDone event

Modified: grass/trunk/gui/wxpython/gui_modules/goutput.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/goutput.py	2008-07-31 16:28:26 UTC (rev 32406)
+++ grass/trunk/gui/wxpython/gui_modules/goutput.py	2008-07-31 17:22:43 UTC (rev 32407)
@@ -76,6 +76,7 @@
             event = wxCmdDone(aborted=self.requestCmd.aborted,
                               time=self.requestTime,
                               pid=requestId)
+            time.sleep(.1)
             wx.PostEvent(self.parent, event)
 
     def abort(self):
@@ -432,8 +433,6 @@
         
     def OnCmdDone(self, event):
         """Command done (or aborted)"""
-        time.sleep(.1) # wait for stdout
-        
         if event.aborted:
             # Thread aborted (using our convention of None return)
             self.WriteLog(_('Please note that the data are left in incosistent stage '



More information about the grass-commit mailing list