mirror of
https://git.yoctoproject.org/poky
synced 2026-05-09 17:39:31 +00:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
fc79776fff
commit
ab75075e79
+6
-6
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user