summaryrefslogtreecommitdiffstats
path: root/scripts/yocto-bsp
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2016-05-30 18:14:46 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-06-01 12:47:10 +0100
commitab75075e7941c8c2ec429c180976702cd311c978 (patch)
tree981a4f1deb59ae35e0d632134878e70afd55ab75 /scripts/yocto-bsp
parentfc79776fffa8e15189d3591ef3e291adb39fcb92 (diff)
downloadpoky-ab75075e7941c8c2ec429c180976702cd311c978.tar.gz
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 <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/yocto-bsp')
-rwxr-xr-xscripts/yocto-bsp12
1 files changed, 6 insertions, 6 deletions
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):
76 bsp_output_dir = "meta-" + machine 76 bsp_output_dir = "meta-" + machine
77 77
78 if options.git_check and not options.properties_file: 78 if options.git_check and not options.properties_file:
79 print "Checking basic git connectivity..." 79 print("Checking basic git connectivity...")
80 if not verify_git_repo(GIT_CHECK_URI): 80 if not verify_git_repo(GIT_CHECK_URI):
81 print "Couldn't verify git connectivity, exiting\n" 81 print("Couldn't verify git connectivity, exiting\n")
82 print "Details: couldn't access %s" % GIT_CHECK_URI 82 print("Details: couldn't access %s" % GIT_CHECK_URI)
83 print " (this most likely indicates a network connectivity problem or" 83 print(" (this most likely indicates a network connectivity problem or")
84 print " a misconfigured git intallation)" 84 print(" a misconfigured git intallation)")
85 sys.exit(1) 85 sys.exit(1)
86 else: 86 else:
87 print "Done.\n" 87 print("Done.\n")
88 88
89 yocto_bsp_create(machine, karch, scripts_path, bsp_output_dir, options.codedump, options.properties_file) 89 yocto_bsp_create(machine, karch, scripts_path, bsp_output_dir, options.codedump, options.properties_file)
90 90