mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
Changing location of reduce import to not use six.moves
This commit is contained in:
@@ -117,7 +117,7 @@ try:
|
||||
reduce
|
||||
except NameError:
|
||||
# Python 3
|
||||
from six.moves import reduce
|
||||
from functools import reduce
|
||||
|
||||
try:
|
||||
NUMBERTYPES = (int, long, float)
|
||||
|
||||
Reference in New Issue
Block a user