more fixes

This commit is contained in:
Solvik Blum 2019-08-03 23:57:36 +02:00
commit eaaf565b37
No known key found for this signature in database
GPG key ID: CC12B3DC262B6C47
6 changed files with 14 additions and 14 deletions

View file

@ -11,11 +11,11 @@ class HPHost(ServerBase):
return self.get_product_name().startswith('ProLiant BL')
def _find_rack_locator(self):
'''
"""
Depending on the server, the type of the `HP ProLiant System/Rack Locator`
can change.
So we need to find it every time
'''
"""
# FIXME: make a dmidecode function get_by_dminame() ?
if self.is_blade():
for key, value in self.dmi.parse().items():