From e5d077d57f7d150d5a0bb67fdc1c87a94091cafe Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Thu, 9 May 2013 21:19:04 +0000 Subject: bitbake: lib: print is a function in moderm python, covert remaining users (Bitbake rev: d0b180d868390a464b6799ad90db6bbe0350e158) Signed-off-by: Richard Purdie --- bitbake/lib/bb/ui/knotty.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bitbake/lib/bb/ui/knotty.py') diff --git a/bitbake/lib/bb/ui/knotty.py b/bitbake/lib/bb/ui/knotty.py index 6834b83b24..6ea7d8694c 100644 --- a/bitbake/lib/bb/ui/knotty.py +++ b/bitbake/lib/bb/ui/knotty.py @@ -201,11 +201,11 @@ class TerminalFilter(object): content = "No currently running tasks (%s of %s)" % (self.helper.tasknumber_current, self.helper.tasknumber_total) else: content = "Currently %s running tasks (%s of %s):" % (len(activetasks), self.helper.tasknumber_current, self.helper.tasknumber_total) - print content + print(content) lines = 1 + int(len(content) / (self.columns + 1)) for tasknum, task in enumerate(tasks): content = "%s: %s" % (tasknum, task) - print content + print(content) lines = lines + 1 + int(len(content) / (self.columns + 1)) self.footer_present = lines self.lastpids = runningpids[:] @@ -300,7 +300,7 @@ def main(server, eventHandler, tf = TerminalFilter): if log_exec_tty: tries = event.retries while tries: - print "Trying to run: %s" % event.prog + print("Trying to run: %s" % event.prog) if os.system(event.prog) == 0: break time.sleep(event.sleep_delay) -- cgit v1.2.3-54-g00ecf