Make flake8 and isort happy

This commit is contained in:
ramnes 2021-07-09 11:10:43 +02:00
parent 794f9787f0
commit bdc450ef6a
2 changed files with 4 additions and 2 deletions

View file

@ -1,5 +1,6 @@
import subprocess
import logging
import subprocess
from netbox_agent.misc import is_tool

View file

@ -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):