more strip from shitty dmidecode

This commit is contained in:
Solvik Blum 2019-09-10 14:37:14 +02:00
parent 0cf2d4fa90
commit 5de408da5a
No known key found for this signature in database
GPG key ID: CC12B3DC262B6C47

View file

@ -76,7 +76,7 @@ class ServerBase():
"""
Return the Chassis Name from dmidecode info
"""
return self.system[0]['Product Name']
return self.system[0]['Product Name'].strip()
def get_service_tag(self):
"""