summaryrefslogtreecommitdiff
path: root/lib/ansible/errors
diff options
context:
space:
mode:
authorMatt Clay <matt@mystile.com>2018-10-05 01:22:25 -0700
committerMatt Clay <matt@mystile.com>2018-10-08 11:26:37 -0700
commita11f631ee414ba1048b04564cc901f1ff8b67479 (patch)
treeb2ab4420cb8ed7fcf18aa5ddaa4feb884a0deced /lib/ansible/errors
parentc4d1f0d416a44e4a24322e2d3829439fdc7d0fe4 (diff)
downloadansible-a11f631ee414ba1048b04564cc901f1ff8b67479.tar.gz
Python 3.8 collections compatibility fixes.
Includes a new pylint blacklist plugin to prevent regressions.
Diffstat (limited to 'lib/ansible/errors')
-rw-r--r--lib/ansible/errors/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ansible/errors/__init__.py b/lib/ansible/errors/__init__.py
index df9576fbc7..8de1834dbe 100644
--- a/lib/ansible/errors/__init__.py
+++ b/lib/ansible/errors/__init__.py
@@ -19,7 +19,6 @@
from __future__ import (absolute_import, division, print_function)
__metaclass__ = type
-from collections import Sequence
import traceback
import sys
@@ -33,6 +32,7 @@ from ansible.errors.yaml_strings import (
YAML_POSITION_DETAILS,
)
from ansible.module_utils._text import to_native, to_text
+from ansible.module_utils.common._collections_compat import Sequence
class AnsibleError(Exception):