From fcbbf357e29f2899823c2b4a6b5a5f29c25408fa Mon Sep 17 00:00:00 2001 From: GONG Jie Date: Sun, 31 Dec 2017 23:59:59 +0000 Subject: [PATCH] Remove trailing spaces in file xCAT-openbmc-py/lib/python/agent/hwctl/executor/openbmc_inventory.py --- .../lib/python/agent/hwctl/executor/openbmc_inventory.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/xCAT-openbmc-py/lib/python/agent/hwctl/executor/openbmc_inventory.py b/xCAT-openbmc-py/lib/python/agent/hwctl/executor/openbmc_inventory.py index 3061a4814..0b454d426 100644 --- a/xCAT-openbmc-py/lib/python/agent/hwctl/executor/openbmc_inventory.py +++ b/xCAT-openbmc-py/lib/python/agent/hwctl/executor/openbmc_inventory.py @@ -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 - +