From ab75075e7941c8c2ec429c180976702cd311c978 Mon Sep 17 00:00:00 2001 From: Ed Bartosh Date: Mon, 30 May 2016 18:14:46 +0300 Subject: scripts: python3: Use print function Used print function instead of print statement to make the code work in python 3. (From meta-yocto rev: d6eea5a794dd8802b773a9186479a863847e6e55) Signed-off-by: Ed Bartosh Signed-off-by: Richard Purdie --- scripts/yocto-bsp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'scripts/yocto-bsp') diff --git a/scripts/yocto-bsp b/scripts/yocto-bsp index 82a050ebdc..ce30e55334 100755 --- a/scripts/yocto-bsp +++ b/scripts/yocto-bsp @@ -76,15 +76,15 @@ def yocto_bsp_create_subcommand(args, usage_str): bsp_output_dir = "meta-" + machine if options.git_check and not options.properties_file: - print "Checking basic git connectivity..." + print("Checking basic git connectivity...") if not verify_git_repo(GIT_CHECK_URI): - print "Couldn't verify git connectivity, exiting\n" - print "Details: couldn't access %s" % GIT_CHECK_URI - print " (this most likely indicates a network connectivity problem or" - print " a misconfigured git intallation)" + print("Couldn't verify git connectivity, exiting\n") + print("Details: couldn't access %s" % GIT_CHECK_URI) + print(" (this most likely indicates a network connectivity problem or") + print(" a misconfigured git intallation)") sys.exit(1) else: - print "Done.\n" + print("Done.\n") yocto_bsp_create(machine, karch, scripts_path, bsp_output_dir, options.codedump, options.properties_file) -- cgit v1.2.3-54-g00ecf