mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +00:00
Fix collections.deque import in compat module
This commit is contained in:
committed by
Sviatoslav Sydorenko
parent
846ee7e85f
commit
a978d7f283
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user