Update code to adhere to coding guideline
Change-Id: I859340a2f17e19b7b5cbb24807499db7ad455f74
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/lib/pdu/pdu.robot b/lib/pdu/pdu.robot
index aa1b216..7ea280e 100644
--- a/lib/pdu/pdu.robot
+++ b/lib/pdu/pdu.robot
@@ -6,7 +6,7 @@
*** Keywords ***
Validate Prereq
[Documentation] Validate prerequisites for PDU.
- ${PDU_VAR_LIST} = Create List PDU_TYPE PDU_IP PDU_USERNAME PDU_PASSWORD PDU_SLOT_NO
+ ${PDU_VAR_LIST}= Create List PDU_TYPE PDU_IP PDU_USERNAME PDU_PASSWORD PDU_SLOT_NO
: FOR ${PDU_VAR} IN @{PDU_VAR_LIST}
\ Should Not Be Empty ${${PDU_VAR}} msg=Unable to find variable ${PDU_VAR}
diff --git a/lib/utils.robot b/lib/utils.robot
index 852989d..81b82a2 100755
--- a/lib/utils.robot
+++ b/lib/utils.robot
@@ -1594,11 +1594,11 @@
# Description of argument(s):
# openbmc_password The root password for the open BMC system.
- @{password} = Create List ${openbmc_password}
- ${data} = Create Dictionary data=@{password}
+ @{password}= Create List ${openbmc_password}
+ ${data}= Create Dictionary data=@{password}
- ${headers} = Create Dictionary Content-Type=application/json
- ${resp} = Post Request openbmc ${BMC_USER_URI}root/action/SetPassword
+ ${headers}= Create Dictionary Content-Type=application/json
+ ${resp}= Post Request openbmc ${BMC_USER_URI}root/action/SetPassword
... data=${data} headers=${headers}
Should Be Equal As Strings ${resp.status_code} ${HTTP_OK}
... msg=Updating the new root password failed, RC=${resp.status_code}.
diff --git a/lib/xcat/xcat_utils.robot b/lib/xcat/xcat_utils.robot
index 9d2e61d..7eaadfa 100644
--- a/lib/xcat/xcat_utils.robot
+++ b/lib/xcat/xcat_utils.robot
@@ -51,7 +51,7 @@
OperatingSystem.File Should Exist ${node_cfg_file_path} msg=cfg file missing.
File Should Not Be Empty ${node_cfg_file_path} msg=Empty config file.
- ${bmc_list} = OperatingSystem.Get File ${node_cfg_file_path}
+ ${bmc_list}= OperatingSystem.Get File ${node_cfg_file_path}
[Return] ${bmc_list}
Add Nodes To XCAT