This patch introduced a syntax error. Sent a patch to fix it http://lists.openembedded.org/pipermail/openembedded-core/2016-June/122522.html
Humberto > -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf > Of Ed Bartosh > Sent: Thursday, June 2, 2016 5:13 AM > To: [email protected] > Subject: [OE-core] [PATCH 12/16] engine: python3: replace iteritems() -> > items() > > Used items() as iteritems() doesn't exist in python 3. > > Signed-off-by: Ed Bartosh <[email protected]> > --- > scripts/lib/bsp/engine.py | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/scripts/lib/bsp/engine.py b/scripts/lib/bsp/engine.py index > 2b87d33..3ed90fa 100644 > --- a/scripts/lib/bsp/engine.py > +++ b/scripts/lib/bsp/engine.py > @@ -1385,7 +1385,7 @@ def gen_supplied_property_vals(properties, > program_lines): > Generate user-specified entries for input values instead of > generating input prompts. > """ > - for name, val in properties.iteritems(): > + for name, val in properties.items(): > program_line = name + " = \"" + val + "\"" > program_lines.append(program_line) > > @@ -1621,7 +1621,7 @@ def print_dict(items, indent = 0): > """ > Print the values in a possibly nested dictionary. > """ > - for key, val in items.iteritems(): > + for key, val in items.items(): > print(" "*indent + "\"%s\" :" % key) > if type(val) == dict: > print("{") > @@ -1654,7 +1654,7 @@ def get_properties(input_lines): > props = line.props > item = {} > name = props["name"] > - for key, val in props.items(): > + for key, val props.items(): > if not key == "name": > item[key] = val > properties[name] = item > -- > 2.1.4 > > -- > _______________________________________________ > Openembedded-core mailing list > [email protected] > http://lists.openembedded.org/mailman/listinfo/openembedded-core -- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
