summaryrefslogtreecommitdiff
path: root/network/nxos/nxos_static_route.py
diff options
context:
space:
mode:
Diffstat (limited to 'network/nxos/nxos_static_route.py')
-rw-r--r--network/nxos/nxos_static_route.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/network/nxos/nxos_static_route.py b/network/nxos/nxos_static_route.py
index 10a1f849..a0e2a78b 100644
--- a/network/nxos/nxos_static_route.py
+++ b/network/nxos/nxos_static_route.py
@@ -321,7 +321,7 @@ def get_existing(module, prefix, warnings):
group_route = match_route.groupdict()
for key in key_map:
- if key not in group_route.keys():
+ if key not in group_route:
group_route[key] = ''
group_route['prefix'] = prefix
group_route['vrf'] = module.params['vrf']