Changed old for loop format to new for loop format
Changed old for loop format to new for loop format

Change-Id: I3e73ff82e6d742608d805a72130da1db81033eff
Signed-off-by: Anves Kumar rayankula <edc7e983fb0601fe4e68cbcf2252d0d5f713eb89@in.ibm.com>

openbmc/openbmc-test-automation,openbmc/openbmc-test-automation