diff --git a/lib/ansible/module_utils/basic.py b/lib/ansible/module_utils/basic.py index 8edb73a14c..8d5963a1f0 100644 --- a/lib/ansible/module_utils/basic.py +++ b/lib/ansible/module_utils/basic.py @@ -117,7 +117,7 @@ try: reduce except NameError: # Python 3 - from six.moves import reduce + from functools import reduce try: NUMBERTYPES = (int, long, float)