diff --git a/lib/ansible/module_utils/basic.py b/lib/ansible/module_utils/basic.py index ad463edd798..1939fa72c31 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)