summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-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):
9 9
10 for scm in scms: 10 for scm in scms:
11 rev = scm(path, d) 11 rev = scm(path, d)
12 if rev <> "<unknown>": 12 if rev != "<unknown>":
13 return rev 13 return rev
14 14
15 return "<unknown>" 15 return "<unknown>"
@@ -21,7 +21,7 @@ def base_detect_branch(d):
21 21
22 for scm in scms: 22 for scm in scms:
23 rev = scm(path, d) 23 rev = scm(path, d)
24 if rev <> "<unknown>": 24 if rev != "<unknown>":
25 return rev.strip() 25 return rev.strip()
26 26
27 return "<unknown>" 27 return "<unknown>"