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:
Toshio Kuratomi 2016-08-24 12:28:02 -07:00 committed by GitHub
parent 27b0f3241b
commit 51ec35378d
4 changed files with 7 additions and 6 deletions

View file

@ -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