Address issue for deprecated syntax
Change from :FOR to FOR/END to address a new WARNING in
the new robot version.
Sample warning message as mention below.
FOR loop starting on line 26: For loop header
': FOR' is deprecated. Use 'FOR' instead.
Signed-off-by: Sushil Singh <susilsi7@in.ibm.com>
Change-Id: I1720b3c7e6fbbafda3fca6f91edf97c80fdd9f41
diff --git a/extended/code_update/code_update_utils.robot b/extended/code_update/code_update_utils.robot
index 6946d90..3a4df5f 100755
--- a/extended/code_update/code_update_utils.robot
+++ b/extended/code_update/code_update_utils.robot
@@ -79,9 +79,10 @@
# Description of argument(s):
# image_file_path Downloaded BMC tar file image path.
- : FOR ${index} IN RANGE 0 4
- \ ${status}= Retry SCP ${image_file_path}
- \ Exit For Loop If '${status}' == '${True}'
+ FOR ${index} IN RANGE 0 4
+ ${status}= Retry SCP ${image_file_path}
+ Exit For Loop If '${status}' == '${True}'
+ END
Retry SCP