Fix common code in line with standard coding expectation
Changes fix for the following:
Line has trailing whitespace (TrailingWhitespace)
Too many trailing blank lines (TrailingBlankLines)
Line is too long (exceeds 110 characters) (LineTooLong)
Change-Id: I4809ef67ae539f9f140fe0b2282620acc68dc8ba
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/lib/bmc_network_utils.robot b/lib/bmc_network_utils.robot
index 7a42a22..efe6998 100644
--- a/lib/bmc_network_utils.robot
+++ b/lib/bmc_network_utils.robot
@@ -452,7 +452,7 @@
# Description of argument(s):
# network_active_channel Ethernet channel number (eg. 1 or 2)
-
+
${active_channel_config}= Get Active Channel Config
${resp}= Redfish.Get
... ${REDFISH_NW_ETH_IFACE}${active_channel_config['${network_active_channel}']['name']}
diff --git a/lib/protocol_setting_utils.robot b/lib/protocol_setting_utils.robot
index ab5e3bf..46617fb 100644
--- a/lib/protocol_setting_utils.robot
+++ b/lib/protocol_setting_utils.robot
@@ -130,5 +130,3 @@
${resp}= Redfish.Get ${REDFISH_NW_PROTOCOL_URI}
Should Be Equal As Strings ${resp.dict['IPMI']['ProtocolEnabled']} ${state}
... msg=Protocol states are not matching.
-
-
diff --git a/lib/redfish_code_update_utils.robot b/lib/redfish_code_update_utils.robot
index 3feeed4..dd094d0 100644
--- a/lib/redfish_code_update_utils.robot
+++ b/lib/redfish_code_update_utils.robot
@@ -19,7 +19,7 @@
${resp}= Redfish.Get /redfish/v1/UpdateService/FirmwareInventory/${image_id}
... valid_status_codes=[${HTTP_OK}, ${HTTP_INTERNAL_SERVER_ERROR}]
${image_info} Set Variable ${resp.dict}
-
+
${sw_functional}= Run Keyword If
... '${image_info["Description"]}' == 'BMC image' or '${image_info["Description"]}' == 'BMC update'
... Redfish.Get Attribute /redfish/v1/Managers/bmc FirmwareVersion