diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2016-06-02 13:12:54 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-06-03 13:13:29 +0100 |
commit | a4045424afbb0634bce0e1d22d73839128020983 (patch) | |
tree | c91d9346711555d1dd84dffd54402fbe8fc85aa4 /scripts | |
parent | 64987b2e5810145c5bb32d3006a2c03320119c29 (diff) | |
download | poky-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>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/combo-layer | 1 |
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 | |||
33 | import shutil | 33 | import shutil |
34 | from collections import OrderedDict | 34 | from collections import OrderedDict |
35 | from string import Template | 35 | from string import Template |
36 | from functools import reduce | ||
36 | 37 | ||
37 | __version__ = "0.2.1" | 38 | __version__ = "0.2.1" |
38 | 39 | ||