diff options
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>" |