mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-24 13:50:22 -07:00
Changing location of reduce import to not use six.moves
This commit is contained in:
parent
b559d0e6ee
commit
9acb5aa176
1 changed files with 1 additions and 1 deletions
|
@ -117,7 +117,7 @@ try:
|
||||||
reduce
|
reduce
|
||||||
except NameError:
|
except NameError:
|
||||||
# Python 3
|
# Python 3
|
||||||
from six.moves import reduce
|
from functools import reduce
|
||||||
|
|
||||||
try:
|
try:
|
||||||
NUMBERTYPES = (int, long, float)
|
NUMBERTYPES = (int, long, float)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue