Skip to content

Commit 4a4bcd4

Browse files
authored
Avoid deprecated functionality. (#174)
1 parent e5d6b02 commit 4a4bcd4

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
bugfixes:
2+
- "Avoid deprecated functionality in ansible-core 2.20 (https://github.com/ansible-collections/community.hrobot/pull/174)."

plugins/plugin_utils/unsafe.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
import re
99

1010
from ansible.module_utils.six import binary_type, text_type
11-
from ansible.module_utils.common._collections_compat import Mapping, Set
11+
from collections.abc import Mapping, Set
1212
from ansible.module_utils.common.collections import is_sequence
1313
from ansible.utils.unsafe_proxy import (
1414
AnsibleUnsafe,

0 commit comments

Comments
 (0)