diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-05-07 13:56:02 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-05-09 14:04:18 +0100 |
commit | dde7af5f6c769eae721b1ee18462b841c8ea3277 (patch) | |
tree | fe4b4f8198307d7a9217d96f5323dc43729bf888 /meta | |
parent | b2d10f15db23246e3957b69d77433f87674928bb (diff) | |
download | openembedded-core-dde7af5f6c769eae721b1ee18462b841c8ea3277.tar.gz openembedded-core-dde7af5f6c769eae721b1ee18462b841c8ea3277.tar.bz2 openembedded-core-dde7af5f6c769eae721b1ee18462b841c8ea3277.zip |
metadata_scm: Replace deprecated operator
The <> operator is deprecated, use != instead which is equivalent.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/metadata_scm.bbclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/metadata_scm.bbclass b/meta/classes/metadata_scm.bbclass index 502d400cbb..e9b207c24f 100644 --- a/meta/classes/metadata_scm.bbclass +++ b/meta/classes/metadata_scm.bbclass @@ -9,7 +9,7 @@ def base_detect_revision(d): for scm in scms: rev = scm(path, d) - if rev <> "<unknown>": + if rev != "<unknown>": return rev return "<unknown>" @@ -21,7 +21,7 @@ def base_detect_branch(d): for scm in scms: rev = scm(path, d) - if rev <> "<unknown>": + if rev != "<unknown>": return rev.strip() return "<unknown>" |