mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +00:00
Bundle a new version of python-six for compatibility along with some code to make it easy for distributions to override the bunndled copy if they have a new enough version.
This commit is contained in:
@@ -27,7 +27,7 @@ import os
|
||||
from abc import ABCMeta, abstractmethod, abstractproperty
|
||||
|
||||
from functools import wraps
|
||||
from six import with_metaclass
|
||||
from ansible.compat.six import with_metaclass
|
||||
|
||||
from ansible import constants as C
|
||||
from ansible.errors import AnsibleError
|
||||
|
||||
@@ -39,7 +39,7 @@ import sys
|
||||
from termios import tcflush, TCIFLUSH
|
||||
from binascii import hexlify
|
||||
|
||||
from six import iteritems
|
||||
from ansible.compat.six import iteritems
|
||||
|
||||
from ansible import constants as C
|
||||
from ansible.errors import AnsibleError, AnsibleConnectionFailure, AnsibleFileNotFound
|
||||
|
||||
@@ -25,7 +25,7 @@ import re
|
||||
import shlex
|
||||
import traceback
|
||||
|
||||
from six.moves.urllib.parse import urlunsplit
|
||||
from ansible.compat.six.moves.urllib.parse import urlunsplit
|
||||
|
||||
from ansible.errors import AnsibleError
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user