mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 05:42:50 +00:00
Fixes ordered dict import (#33499)
Make it try to fallback to a pypi package if its not found in what ships with python
This commit is contained in:
@@ -195,7 +195,10 @@ from ansible.module_utils.six import iteritems
|
||||
try:
|
||||
from collections import OrderedDict
|
||||
except ImportError:
|
||||
pass
|
||||
try:
|
||||
from ordereddict import OrderedDict
|
||||
except ImportError:
|
||||
pass
|
||||
|
||||
try:
|
||||
from ansible.module_utils.f5_utils import iControlUnexpectedHTTPError
|
||||
|
||||
Reference in New Issue
Block a user