From c4fde248b14d4be9cab6d0eff85f9d7f852a4b65 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Fri, 18 Jun 2010 12:50:15 +0200 Subject: *: use print() as a function to make python3 happy (Bitbake rev: c82926ccdd4ec4e3ad6e78a381dacb96adf9b409) Signed-off-by: Bernhard Reutner-Fischer Signed-off-by: Richard Purdie --- bitbake/bin/bitbake | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bitbake/bin') diff --git a/bitbake/bin/bitbake b/bitbake/bin/bitbake index fdf1e20f84..7caa5d95e6 100755 --- a/bitbake/bin/bitbake +++ b/bitbake/bin/bitbake @@ -195,13 +195,13 @@ Default BBFILES are the .bb files in the current directory.""") uimodule = __import__("bb.ui", fromlist = [ui]) ui_init = getattr(uimodule, ui).init except AttributeError: - print "FATAL: Invalid user interface '%s' specified. " % ui - print "Valid interfaces are 'ncurses', 'depexp' or the default, 'knotty'." + print("FATAL: Invalid user interface '%s' specified. " % ui) + print("Valid interfaces are 'ncurses', 'depexp' or the default, 'knotty'.") else: try: return_value = ui_init(serverConnection.connection, serverConnection.events) except Exception as e: - print "FATAL: Unable to start to '%s' UI: %s" % (ui, e) + print("FATAL: Unable to start to '%s' UI: %s" % (ui, e)) raise finally: serverConnection.terminate() -- cgit v1.2.3