diff options
Diffstat (limited to 'bitbake/lib/bb/ui/knotty.py')
-rw-r--r-- | bitbake/lib/bb/ui/knotty.py | 6 |
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 | ||
23 | import os | 23 | import os |
24 | import sys | 24 | import sys |
25 | import xmlrpclib | 25 | import xmlrpc.client as xmlrpclib |
26 | import logging | 26 | import logging |
27 | import progressbar | 27 | import progressbar |
28 | import signal | 28 | import 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 | ||