From: Richard Purdie Date: Tue, 7 May 2013 12:56:02 +0000 (+0100) Subject: metadata_scm: Replace deprecated operator X-Git-Tag: rev_ivi_2015_02_04~12658 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=326229a86b452145b56f8be6fc7c6d005695a9df;p=scm%2Fbb%2Ftizen-distro.git metadata_scm: Replace deprecated operator The <> operator is deprecated, use != instead which is equivalent. (From OE-Core rev: dde7af5f6c769eae721b1ee18462b841c8ea3277) Signed-off-by: Richard Purdie --- diff --git a/meta/classes/metadata_scm.bbclass b/meta/classes/metadata_scm.bbclass index 502d400..e9b207c 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 <> "": + if rev != "": return rev return "" @@ -21,7 +21,7 @@ def base_detect_branch(d): for scm in scms: rev = scm(path, d) - if rev <> "": + if rev != "": return rev.strip() return ""