[oe-commits] [openembedded-core] 39/43: combo-layer: python3: import reduce
git at git.openembedded.org
git at git.openembedded.org
Thu Jun 2 10:52:03 UTC 2016
rpurdie pushed a commit to branch master-next
in repository openembedded-core.
commit f9bda8b36decb5a837adcfeb1173092401988801
Author: Ed Bartosh <ed.bartosh at linux.intel.com>
AuthorDate: 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.
Signed-off-by: Ed Bartosh <ed.bartosh at linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
scripts/combo-layer | 1 +
1 file changed, 1 insertion(+)
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"
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list