diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-05-07 13:55:57 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-05-09 14:06:51 +0100 |
commit | 3512f797f92f0d51bf3af83bf5126466e2e0cc15 (patch) | |
tree | 420619abcbed7fa4596a3190468dfaf32b934f0b /meta/lib/oe/path.py | |
parent | caa8b29c770a78e1d0a70cbe46696856d5ef7ec8 (diff) | |
download | poky-3512f797f92f0d51bf3af83bf5126466e2e0cc15.tar.gz |
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>
Diffstat (limited to 'meta/lib/oe/path.py')
-rw-r--r-- | meta/lib/oe/path.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oe/path.py b/meta/lib/oe/path.py index d8eb80225f..da044ba8c8 100644 --- a/meta/lib/oe/path.py +++ b/meta/lib/oe/path.py | |||
@@ -55,7 +55,7 @@ def make_relative_symlink(path): | |||
55 | depth += 1 | 55 | depth += 1 |
56 | 56 | ||
57 | if not ancestor: | 57 | if not ancestor: |
58 | print "make_relative_symlink() Error: unable to find the common ancestor of %s and its target" % path | 58 | print("make_relative_symlink() Error: unable to find the common ancestor of %s and its target" % path) |
59 | return | 59 | return |
60 | 60 | ||
61 | base = link.partition(ancestor)[2].strip('/') | 61 | base = link.partition(ancestor)[2].strip('/') |