From 2cf11711243acd903d9eb5d1bb1eaa739531c8a3 Mon Sep 17 00:00:00 2001 From: js Date: Mon, 21 Jul 2008 17:29:49 +0000 Subject: [PATCH] Remove \n from distribution name. --- src/common/helpers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/helpers.py b/src/common/helpers.py index 8ab3e526a..a999c8c6f 100644 --- a/src/common/helpers.py +++ b/src/common/helpers.py @@ -879,7 +879,7 @@ def get_os_info(): text = distro_name elif path_to_file.endswith('lfs-release'): # file just has version text = distro_name + ' ' + text - return text + return text.replace('\n', '') # our last chance, ask uname and strip it uname_output = get_output_of_command('uname -sr')