summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/ui/knotty.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/ui/knotty.py')
-rw-r--r--bitbake/lib/bb/ui/knotty.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/bitbake/lib/bb/ui/knotty.py b/bitbake/lib/bb/ui/knotty.py
index 08c872e397..9605c8ee50 100644
--- a/bitbake/lib/bb/ui/knotty.py
+++ b/bitbake/lib/bb/ui/knotty.py
@@ -22,7 +22,7 @@ from __future__ import division
22 22
23import os 23import os
24import sys 24import sys
25import xmlrpclib 25import xmlrpc.client as xmlrpclib
26import logging 26import logging
27import progressbar 27import progressbar
28import signal 28import signal
@@ -184,8 +184,8 @@ class TerminalFilter(object):
184 def clearFooter(self): 184 def clearFooter(self):
185 if self.footer_present: 185 if self.footer_present:
186 lines = self.footer_present 186 lines = self.footer_present
187 sys.stdout.write(self.curses.tparm(self.cuu, lines)) 187 sys.stdout.buffer.write(self.curses.tparm(self.cuu, lines))
188 sys.stdout.write(self.curses.tparm(self.ed)) 188 sys.stdout.buffer.write(self.curses.tparm(self.ed))
189 sys.stdout.flush() 189 sys.stdout.flush()
190 self.footer_present = False 190 self.footer_present = False
191 191