def print_task_tuple(entities):
    print('Task/Entity Tuples:')
    for indx, (task, entity) in enumerate(entities):
        print((indx, ') Entry'))
        try:
            print(('\tTask: ', task['name'], task['taskState'],
                    task['taskStatus'], task['uri']))
        except __HOLE__:
            print('\tTask: n/a')
        try:
            print(('\tResource: ', entity['name'], entity['uri']))
        except KeyError:
            print('\tResource: n/a')
dataset/ETHPy150Open HewlettPackard/python-hpOneView/hpOneView/common.py/print_task_tuple