summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2016-06-02 13:12:54 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-06-03 13:13:29 +0100
commita4045424afbb0634bce0e1d22d73839128020983 (patch)
treec91d9346711555d1dd84dffd54402fbe8fc85aa4
parent64987b2e5810145c5bb32d3006a2c03320119c29 (diff)
downloadpoky-a4045424afbb0634bce0e1d22d73839128020983.tar.gz
combo-layer: python3: import reduce
Reduce is not a builtin function in python3. It has to be imported from functools. (From OE-Core rev: f9bda8b36decb5a837adcfeb1173092401988801) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rwxr-xr-xscripts/combo-layer1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/combo-layer b/scripts/combo-layer
index 0644cdc073..0954bb6850 100755
--- a/scripts/combo-layer
+++ b/scripts/combo-layer
@@ -33,6 +33,7 @@ import pipes
33import shutil 33import shutil
34from collections import OrderedDict 34from collections import OrderedDict
35from string import Template 35from string import Template
36from functools import reduce
36 37
37__version__ = "0.2.1" 38__version__ = "0.2.1"
38 39