mirror of
https://git.yoctoproject.org/poky
synced 2026-06-01 00:59:48 +00:00
bitbake: bitbake: Convert to python 3
Various misc changes to convert bitbake to python3 which don't warrant separation into separate commits. (Bitbake rev: d0f904d407f57998419bd9c305ce53e5eaa36b24) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -22,7 +22,7 @@ from __future__ import division
|
||||
|
||||
import os
|
||||
import sys
|
||||
import xmlrpclib
|
||||
import xmlrpc.client as xmlrpclib
|
||||
import logging
|
||||
import progressbar
|
||||
import signal
|
||||
@@ -184,8 +184,8 @@ class TerminalFilter(object):
|
||||
def clearFooter(self):
|
||||
if self.footer_present:
|
||||
lines = self.footer_present
|
||||
sys.stdout.write(self.curses.tparm(self.cuu, lines))
|
||||
sys.stdout.write(self.curses.tparm(self.ed))
|
||||
sys.stdout.buffer.write(self.curses.tparm(self.cuu, lines))
|
||||
sys.stdout.buffer.write(self.curses.tparm(self.ed))
|
||||
sys.stdout.flush()
|
||||
self.footer_present = False
|
||||
|
||||
|
||||
Reference in New Issue
Block a user