Fix print_var calls: new fmt, indent, etc.
Changed print_var calls to correctly use new arguments:
- fmt
- indent
- col1_width
Change-Id: If80088d5b69865074fd510421b918da7fd8e874e
Signed-off-by: Michael Walsh <micwalsh@us.ibm.com>
diff --git a/lib/gen_call_robot.py b/lib/gen_call_robot.py
index 3944c79..0372698 100755
--- a/lib/gen_call_robot.py
+++ b/lib/gen_call_robot.py
@@ -347,7 +347,7 @@
gp.qprint_timen("No robot output files were found in " + outputdir
+ ".")
return
- gp.qprint_var(robot_rc, 1)
+ gp.qprint_var(robot_rc, gp.hexa())
if SAVE_STATUS_POLICY == "FAIL" and robot_rc == 0:
gp.qprint_timen("The call to robot produced no failures."
+ " Deleting robot output files.")
@@ -480,8 +480,7 @@
gcr_last_robot_rc = shell_rc
process_robot_output_files()
if shell_rc != 0:
- hex = 1
- gp.print_var(shell_rc, hex)
+ gp.print_var(shell_rc, gp.hexa())
return False
return True