Include square brackets in print_var dict terse format.

Including square brackets in the output makes it clear which fields are
dictionary key fields as opposed to variable names:

Previously, the output looked like this:

stack_dict:
  boot_stack:
    boot_stack[0]:    OBMC Reboot (off)

With the change it looks like this:

stack_dict:
  [boot_stack]:
    [boot_stack][0]:  OBMC Reboot (off)

Change-Id: I5ec260e6da022475d73185445f8e0013f40cabb3
Signed-off-by: Michael Walsh <micwalsh@us.ibm.com>
1 file changed