summaryrefslogtreecommitdiff
path: root/plugins/modules
diff options
context:
space:
mode:
authoromnom62 <75066712+omnom62@users.noreply.github.com>2025-10-19 21:07:22 +1000
committerGitHub <noreply@github.com>2025-10-19 07:07:22 -0400
commit17cbfd4fc4cbf1efb81c18f3f24143f7c0acfa7c (patch)
tree07d4ed14ea38aef0215386fcb41b055c122f53fd /plugins/modules
parent79c844c2a58cd84671db78ee063f6b9b5fd942bb (diff)
downloadvyos.vyos-17cbfd4fc4cbf1efb81c18f3f24143f7c0acfa7c.tar.gz
vyos.vyos-17cbfd4fc4cbf1efb81c18f3f24143f7c0acfa7c.zip
Fixes for sanity checks broken by upstream (#435)
* init for upstream sanity checks * PY3 removed * procenv.py PY3 fix * changelog * Bulk commit of linter changes * Clean-up
Diffstat (limited to 'plugins/modules')
-rw-r--r--plugins/modules/vyos_user.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/modules/vyos_user.py b/plugins/modules/vyos_user.py
index 4a68e559..7aaa45ae 100644
--- a/plugins/modules/vyos_user.py
+++ b/plugins/modules/vyos_user.py
@@ -210,7 +210,6 @@ from copy import deepcopy
from functools import partial
from ansible.module_utils.basic import AnsibleModule
-from ansible.module_utils.six import iteritems
from ansible_collections.ansible.netcommon.plugins.module_utils.network.common.utils import (
remove_default_spec,
)
@@ -424,7 +423,7 @@ def update_objects(want, have):
if item is None:
updates.append((entry, {}))
elif item:
- for key, value in iteritems(entry):
+ for key, value in entry.items():
if value and value != item[key]:
updates.append((entry, item))
return updates