2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-21 11:12:04 +00:00

Remove trailing spaces in file xCAT-openbmc-py/lib/python/agent/hwctl/executor/openbmc_inventory.py

This commit is contained in:
GONG Jie 2017-12-31 23:59:59 +00:00
parent b7c6af45dc
commit fcbbf357e2

View File

@ -112,7 +112,7 @@ class OpenBMCInventoryTask(ParallelNodesCommand):
# Extract the data from the BMC
inventory_info_dict = obmc.get_inventory_info(inventory_type)
# Process returned inventory_info_dict depending on the inventory requested
# Process returned inventory_info_dict depending on the inventory requested
if all == 1:
# Everything gets displayed, even firmware
keys = inventory_info_dict.keys()
@ -156,7 +156,7 @@ class OpenBMCInventoryTask(ParallelNodesCommand):
except (SelfServerException, SelfClientException) as e:
self.callback.error(e.message, node)
return inventory_info
return inventory_info
def get_firm_info(self, target_file=None, **kw):
@ -179,5 +179,5 @@ class OpenBMCInventoryTask(ParallelNodesCommand):
return firm_info