pep8 fixes and logging

This commit is contained in:
Solvik Blum 2019-08-21 10:40:32 +02:00
parent 4afd3b9170
commit b30591b382
No known key found for this signature in database
GPG key ID: CC12B3DC262B6C47
6 changed files with 38 additions and 11 deletions

View file

@ -5,7 +5,7 @@ class DellHost(ServerBase):
def __init__(self, *args, **kwargs):
super(DellHost, self).__init__(*args, **kwargs)
self.manufacturer = 'Dell'
def is_blade(self):
return self.get_product_name().startswith('PowerEdge M')