commit 166db1e16f386f16b773f32863d13a87465e31df
parent d4f2c4855f435b59ec4ac2079d9dea8e00c2922d
Author: ThomasV <thomasv@gitorious>
Date: Sat, 23 Feb 2013 20:33:10 +0100
add flush method for stdoutProxy, for compatibility
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/lib/qt_console.py b/lib/qt_console.py
@@ -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')