Fix travis

This commit is contained in:
Cyril Levis 2020-08-20 17:33:44 +02:00
commit 3791b37dc5
No known key found for this signature in database
GPG key ID: 8538D68543979A20

View file

@ -1,9 +1,9 @@
from netbox_agent.location import Slot from netbox_agent.location import Slot
from netbox_agent.server import ServerBase from netbox_agent.server import ServerBase
""" class SupermicroHost(ServerBase):
"""
Supermicro DMI can be messed up. They depend on the vendor Supermicro DMI can be messed up. They depend on the vendor
to set the correct values. The endusers cannot to set the correct values. The endusers cannot
change them without buying a license from Supermicro. change them without buying a license from Supermicro.
@ -14,10 +14,8 @@ from netbox_agent.server import ServerBase
2) Baseboard - this is used for the blade. 2) Baseboard - this is used for the blade.
3) Chassis - this is ignored. 3) Chassis - this is ignored.
""" """
class SupermicroHost(ServerBase):
def __init__(self, *args, **kwargs): def __init__(self, *args, **kwargs):
super(SupermicroHost, self).__init__(*args, **kwargs) super(SupermicroHost, self).__init__(*args, **kwargs)
self.manufacturer = 'Supermicro' self.manufacturer = 'Supermicro'