[GRASS-SVN] r33301 - grass/branches/develbranch_6/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Sep 6 09:12:59 EDT 2008


Author: martinl
Date: 2008-09-06 09:12:59 -0400 (Sat, 06 Sep 2008)
New Revision: 33301

Modified:
   grass/branches/develbranch_6/gui/wxpython/gui_modules/goutput.py
Log:
wxGUI: ignore error message containing 'GtkPizza', see trac #283


Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/goutput.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/goutput.py	2008-09-06 13:00:37 UTC (rev 33300)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/goutput.py	2008-09-06 13:12:59 UTC (rev 33301)
@@ -88,6 +88,8 @@
             except AttributeError:
                 aborted = False
             
+            time.sleep(.1)
+            
             event = wxCmdDone(aborted=aborted,
                               time=requestTime,
                               pid=requestId)
@@ -572,6 +574,9 @@
         self.printMessage = False
         
     def write(self, s):
+        if "GtkPizza" in s:
+            return
+        
         s = s.replace('\n', os.linesep)
         # remove/replace escape sequences '\b' or '\r' from stream
         progressValue = -1



More information about the grass-commit mailing list