diff options
-rw-r--r-- | meta/lib/oe/lsb.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oe/lsb.py b/meta/lib/oe/lsb.py index f4a5ba1c17..ebf90baace 100644 --- a/meta/lib/oe/lsb.py +++ b/meta/lib/oe/lsb.py | |||
@@ -26,7 +26,7 @@ def release_dict_file(): | |||
26 | with open('/etc/lsb-release') as f: | 26 | with open('/etc/lsb-release') as f: |
27 | for line in f: | 27 | for line in f: |
28 | key, value = line.split("=", 1) | 28 | key, value = line.split("=", 1) |
29 | data[key] = value | 29 | data[key] = value.strip() |
30 | elif os.path.exists('/etc/redhat-release'): | 30 | elif os.path.exists('/etc/redhat-release'): |
31 | data = {} | 31 | data = {} |
32 | with open('/etc/redhat-release') as f: | 32 | with open('/etc/redhat-release') as f: |