def print_list_of_allocations(): """This prints the list of allocations """ for room, occupants in Manager.get_list_of_allocations(): print str(room) Manager.get_members_in_room(room.name, print_stdio=True)