mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-08-22 22:11:44 -07:00
Fix collections.deque import in compat module
This commit is contained in:
parent
846ee7e85f
commit
a978d7f283
2 changed files with 3 additions and 3 deletions
|
@ -14,7 +14,7 @@ __metaclass__ = type
|
|||
try:
|
||||
"""Python 3.3+ branch."""
|
||||
from collections.abc import (
|
||||
deque, KeysView,
|
||||
KeysView,
|
||||
Mapping, MutableMapping,
|
||||
Sequence, MutableSequence,
|
||||
Set, MutableSet,
|
||||
|
@ -22,7 +22,7 @@ try:
|
|||
except ImportError:
|
||||
"""Use old lib location under 2.6-3.2."""
|
||||
from collections import (
|
||||
deque, KeysView,
|
||||
KeysView,
|
||||
Mapping, MutableMapping,
|
||||
Sequence, MutableSequence,
|
||||
Set, MutableSet,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue