def print_keys(keys):
    """
        Print a list of keys.
    """
    print 'Keys'
    if has_str_format:
        for key in keys:
            print ' {0:15}'.format(key['key_id'])
    else:
        for key in keys:
            print ' %(key_id)-15ls' % (key)
dataset/ETHPy150Open cloudControl/cctrl/cctrl/output.py/print_keys/original