summaryrefslogtreecommitdiff
path: root/network/nxos/nxos_bgp.py
diff options
context:
space:
mode:
Diffstat (limited to 'network/nxos/nxos_bgp.py')
-rw-r--r--network/nxos/nxos_bgp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/network/nxos/nxos_bgp.py b/network/nxos/nxos_bgp.py
index 5ec5135b..c937fb8d 100644
--- a/network/nxos/nxos_bgp.py
+++ b/network/nxos/nxos_bgp.py
@@ -757,7 +757,7 @@ def state_present(module, existing, proposed, candidate):
elif value is False:
commands.append('no {0}'.format(key))
elif value == 'default':
- if key in PARAM_TO_DEFAULT_KEYMAP.keys():
+ if key in PARAM_TO_DEFAULT_KEYMAP:
commands.append('{0} {1}'.format(key, PARAM_TO_DEFAULT_KEYMAP[key]))
elif existing_commands.get(key):
existing_value = existing_commands.get(key)