mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-25 11:51:26 -07: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:
parent
27b0f3241b
commit
51ec35378d
4 changed files with 7 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue