summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--meta/classes/metadata_scm.bbclass4
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>"