Remove \n from distribution name.

This commit is contained in:
js 2008-07-21 17:29:49 +00:00
parent 1d48ca648f
commit 2cf1171124
1 changed files with 1 additions and 1 deletions

View File

@ -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')