1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Changing location of reduce import to not use six.moves

This commit is contained in:
James Cammarata 2016-03-01 17:06:46 -05:00
parent b559d0e6ee
commit 9acb5aa176

View file

@ -117,7 +117,7 @@ try:
reduce
except NameError:
# Python 3
from six.moves import reduce
from functools import reduce
try:
NUMBERTYPES = (int, long, float)