From c82926ccdd4ec4e3ad6e78a381dacb96adf9b409 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 Signed-off-by: Bernhard Reutner-Fischer --- bin/bitbake | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bin') diff --git a/bin/bitbake b/bin/bitbake index fdf1e20f8..7caa5d95e 100755 --- a/bin/bitbake +++ b/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 1.2.3-korg