From da8aa0dd29e165ee5e9c5a635bb135edf6fd5de8 Mon Sep 17 00:00:00 2001 From: GGabriele Date: Thu, 15 Sep 2016 13:25:48 +0200 Subject: [PATCH] Removing unused function --- .../modules/network/nxos/nxos_vtp_domain.py | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/lib/ansible/modules/network/nxos/nxos_vtp_domain.py b/lib/ansible/modules/network/nxos/nxos_vtp_domain.py index 83449e0ab6..68fc8e20a2 100644 --- a/lib/ansible/modules/network/nxos/nxos_vtp_domain.py +++ b/lib/ansible/modules/network/nxos/nxos_vtp_domain.py @@ -334,20 +334,6 @@ def flatten_list(command_lists): return flat_command_list - -def apply_key_map(key_map, table): - new_dict = {} - for key, value in table.items(): - new_key = key_map.get(key) - if new_key: - value = table.get(key) - if value: - new_dict[new_key] = str(value) - else: - new_dict[new_key] = value - return new_dict - - def get_vtp_config(module): command = 'show vtp status'