diff --git a/changelogs/fragments/7379-url.yml b/changelogs/fragments/7379-url.yml new file mode 100644 index 0000000000..818f14ed50 --- /dev/null +++ b/changelogs/fragments/7379-url.yml @@ -0,0 +1,2 @@ +bugfixes: + - "memset module utils - make compatible with ansible-core 2.17 (https://github.com/ansible-collections/community.general/pull/7379)." \ No newline at end of file diff --git a/plugins/module_utils/memset.py b/plugins/module_utils/memset.py index 374b40ff44..00c028fb09 100644 --- a/plugins/module_utils/memset.py +++ b/plugins/module_utils/memset.py @@ -14,8 +14,9 @@ from __future__ import (absolute_import, division, print_function) __metaclass__ = type from ansible.module_utils.six.moves.urllib.parse import urlencode -from ansible.module_utils.urls import open_url, urllib_error +from ansible.module_utils.urls import open_url from ansible.module_utils.basic import json +import ansible.module_utils.six.moves.urllib.error as urllib_error class Response(object):