Make flake8 and isort happy
This commit is contained in:
parent
794f9787f0
commit
bdc450ef6a
2 changed files with 4 additions and 2 deletions
|
@ -1,5 +1,6 @@
|
|||
import subprocess
|
||||
import logging
|
||||
import subprocess
|
||||
|
||||
from netbox_agent.misc import is_tool
|
||||
|
||||
|
||||
|
|
3
netbox_agent/vendors/hp.py
vendored
3
netbox_agent/vendors/hp.py
vendored
|
@ -12,7 +12,8 @@ class HPHost(ServerBase):
|
|||
|
||||
def is_blade(self):
|
||||
blade = self.product.startswith("ProLiant BL")
|
||||
blade |= self.product.startswith("ProLiant m") and self.product.endswith("Server Cartridge")
|
||||
blade |= (self.product.startswith("ProLiant m")
|
||||
and self.product.endswith("Server Cartridge"))
|
||||
return blade
|
||||
|
||||
def _find_rack_locator(self):
|
||||
|
|
Loading…
Reference in a new issue