add flush method for stdoutProxy, for compatibility
authorThomasV <thomasv@gitorious>
Sat, 23 Feb 2013 19:33:10 +0000 (20:33 +0100)
committerThomasV <thomasv@gitorious>
Sat, 23 Feb 2013 19:33:10 +0000 (20:33 +0100)
lib/qt_console.py

index 82d9ba0..68eb458 100644 (file)
@@ -159,6 +159,9 @@ class Console(QtGui.QPlainTextEdit):
                     self.write_func = write_func
                     self.skip = False
 
+                def flush(self):
+                    pass
+
                 def write(self, text):
                     if not self.skip:
                         stripped_text = text.rstrip('\n')