From: Ed Bartosh Date: Thu, 2 Jun 2016 10:12:54 +0000 (+0300) Subject: combo-layer: python3: import reduce X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~25514 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f9bda8b36decb5a837adcfeb1173092401988801;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.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 0644cdc0733..0954bb68506 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"