summaryrefslogtreecommitdiff
path: root/classes/base.bbclass
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2008-10-18 09:46:02 -0300
committerOtavio Salvador <otavio@ossystems.com.br>2008-10-18 09:58:38 -0300
commit4b1aa6a6145ce697754209480d6266369becac6d (patch)
treeeb5cd0fd155601140c7dc01346d5635732f5320a /classes/base.bbclass
parent58774ccd9fd50634d01536d81afe24b2571dfa7e (diff)
base.bbclass: strip branch name in base_detect_branch
Diffstat (limited to 'classes/base.bbclass')
-rw-r--r--classes/base.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/base.bbclass b/classes/base.bbclass
index 8ff2346a34..b50bc8667c 100644
--- a/classes/base.bbclass
+++ b/classes/base.bbclass
@@ -773,7 +773,7 @@ def base_detect_branch(d):
for scm in scms:
rev = scm(d)
if rev <> "<unknown>":
- return rev
+ return rev.strip()
return "<unknown>"