mirror of
https://git.yoctoproject.org/poky
synced 2026-09-15 15:49:32 +02:00
classes/lib: Update to use print as a function call
In python 3 print is a function call. In some cases bb.note is a more appropriate call to make. (From OE-Core rev: 754874e68d1037c76fc4cc7d35d3fa12946d00f8) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -55,7 +55,7 @@ def make_relative_symlink(path):
|
||||
depth += 1
|
||||
|
||||
if not ancestor:
|
||||
print "make_relative_symlink() Error: unable to find the common ancestor of %s and its target" % path
|
||||
print("make_relative_symlink() Error: unable to find the common ancestor of %s and its target" % path)
|
||||
return
|
||||
|
||||
base = link.partition(ancestor)[2].strip('/')
|
||||
|
||||
Reference in New Issue
Block a user