mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 05:42:50 +00:00
xrange and izip_longest aren't available in vanilla python3 (#17226)
Fixes for these are either rewriting to get rid of the need for the functions or using six.moves to get equivalent functions for both python2 and python3
This commit is contained in:
@@ -19,6 +19,7 @@ __metaclass__ = type
|
||||
|
||||
from re import compile as re_compile, IGNORECASE
|
||||
|
||||
from ansible.compat.six.moves import xrange
|
||||
from ansible.errors import AnsibleError
|
||||
from ansible.parsing.splitter import parse_kv
|
||||
from ansible.plugins.lookup import LookupBase
|
||||
|
||||
Reference in New Issue
Block a user