Fix QCT vendor class #48

Merged
Solvik merged 2 commits from fix-qct into master 2019-08-28 12:06:46 +02:00
Showing only changes of commit b5b292a0fa - Show all commits

View file

@ -5,7 +5,7 @@ class QCTHost(ServerBase):
def __init__(self, *args, **kwargs):
super(QCTHost, self).__init__(*args, **kwargs)
self.manufacturer = 'QCT'
def is_blade(self):
return 'Location In Chassis' in self.dmi.get_by_type('Baseboard')[0].keys()