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/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