Removing unused function

This commit is contained in:
GGabriele 2016-09-15 13:25:48 +02:00 committed by Matt Clay
parent d53b52d528
commit da8aa0dd29

View file

@ -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'