From: Ed Bartosh Date: Thu, 2 Jun 2016 10:12:54 +0000 (+0300) Subject: combo-layer: python3: import reduce X-Git-Tag: uninative-1.3~807 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=f9bda8b36decb5a837adcfeb1173092401988801;p=openembedded-core.git combo-layer: python3: import reduce Reduce is not a builtin function in python3. It has to be imported from functools. Signed-off-by: Ed Bartosh Signed-off-by: Richard Purdie --- 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 import shutil from collections import OrderedDict from string import Template +from functools import reduce __version__ = "0.2.1"