From d5801d76e8dfd63d05f844f3e499771d695a2f33 Mon Sep 17 00:00:00 2001 From: James Cammarata Date: Tue, 1 Mar 2016 17:06:46 -0500 Subject: [PATCH] Changing location of reduce import to not use six.moves --- lib/ansible/module_utils/basic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)