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

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Sep 6 09:14:46 EDT 2008


Author: martinl
Date: 2008-09-06 09:14:46 -0400 (Sat, 06 Sep 2008)
New Revision: 33302

Modified:
   grass/trunk/gui/wxpython/gui_modules/goutput.py
Log:
wxGUI: ignore error message containing 'GtkPizza', see trac #283
(merge from devbr6, r33301)


Modified: grass/trunk/gui/wxpython/gui_modules/goutput.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/goutput.py	2008-09-06 13:12:59 UTC (rev 33301)
+++ grass/trunk/gui/wxpython/gui_modules/goutput.py	2008-09-06 13:14:46 UTC (rev 33302)
@@ -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