
The ansible 'reduce' function is itself imported from the functools: https://github.com/ansible/ansible/blob/devel/lib/ansible/module_utils/six/__init__.py#L273 And thus provides exactly the same functionality. Furthermore, the functools is part of python lib since 2.7, so the result should be compatible across all of our releases. Signed-off-by: Jiri Podivin <jpodivin@redhat.com> Change-Id: I981512fa81f0eb2aac0a50a4709c517cce794fa8