flush out stdout and stderr when printing stuff

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1153 cd1c1023-2f26-0410-ae45-c471fc1f0318
This commit is contained in:
(no author)
2008-02-06 21:50:30 +00:00
parent f019d3782c
commit 5cdb3233e8

View File

@@ -341,6 +341,9 @@ class TextInterface:
# in this case, we run a separate thread
def __TextInterface_updateText(self, data):
sys.stdout.flush()
sys.stderr.flush()
myfunc = print_info
if data['type'] == "warning":
myfunc = print_warning