From 9acb5aa176bf71c10975c0a92b8cc225e72d1228 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 8edb73a14c5..8d5963a1f02 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)