[OE-core] [PATCH 08/16] combo-layer: python3: import reduce

Ed Bartosh ed.bartosh at linux.intel.com
Thu Jun 2 10:12:54 UTC 2016


Reduce is not a builtin function in python3.
It has to be imported from functools.

Signed-off-by: Ed Bartosh <ed.bartosh at linux.intel.com>
---
 scripts/combo-layer | 1 +
 1 file changed, 1 insertion(+)

diff --git a/scripts/combo-layer b/scripts/combo-layer
index 0644cdc..0954bb6 100755
--- a/scripts/combo-layer
+++ b/scripts/combo-layer
@@ -33,6 +33,7 @@ import pipes
 import shutil
 from collections import OrderedDict
 from string import Template
+from functools import reduce
 
 __version__ = "0.2.1"
 
-- 
2.1.4




More information about the Openembedded-core mailing list