[gnome-continuous-yocto/gnomeostree-3.28-rocko: 696/8267] combo-layer: python3: import reduce

commit a4045424afbb0634bce0e1d22d73839128020983
Author: Ed Bartosh <ed bartosh linux intel com>
Date:   Thu Jun 2 13:12:54 2016 +0300

    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>

 scripts/combo-layer |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
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"

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]