pep8 fixes and logging
This commit is contained in:
parent
4afd3b9170
commit
b30591b382
6 changed files with 38 additions and 11 deletions
|
@ -123,8 +123,8 @@ class HPRaid(Raid):
|
|||
_product_name = list(info_dict.keys())[0]
|
||||
product_name = REGEXP_CONTROLLER_HP.search(_product_name)
|
||||
if product_name:
|
||||
self.controllers.append(
|
||||
HPRaidController(product_name.group(1), info_dict[_product_name])
|
||||
self.controllers.append(
|
||||
HPRaidController(product_name.group(1), info_dict[_product_name])
|
||||
)
|
||||
|
||||
def get_controllers(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue