diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2008-10-18 09:46:02 -0300 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2008-10-18 09:58:38 -0300 |
commit | 4b1aa6a6145ce697754209480d6266369becac6d (patch) | |
tree | eb5cd0fd155601140c7dc01346d5635732f5320a /classes | |
parent | 58774ccd9fd50634d01536d81afe24b2571dfa7e (diff) |
base.bbclass: strip branch name in base_detect_branch
Diffstat (limited to 'classes')
-rw-r--r-- | classes/base.bbclass | 2 |
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>" |