]> code.ossystems Code Review - openembedded-core.git/commit
recipetool: create: fix failure handling included dicts
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Sun, 12 Nov 2017 22:00:25 +0000 (11:00 +1300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 21 Nov 2017 13:02:43 +0000 (13:02 +0000)
commitae62a9953e219df5147ed4a5ae3f4163d51cff28
tree005e7b50cdb5e1f3a059ac94a6cf12949b897d64
parent8b8c40bdbd09ddd1409dc30e04ef847f6a15f109
recipetool: create: fix failure handling included dicts

If a setup dict in a python setup.py file pulled in the contents of
another dict (e.g.  **otherdict), then we got an error when mapping
the keys because the key is None in that case. Skip those keys to avoid
the error (we pick up the values directly in any case).

A quick reproducer for this issue:

recipetool create https://files.pythonhosted.org/packages/source/p/pyqtgraph/pyqtgraph-0.10.0.tar.gz

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
scripts/lib/recipetool/create_buildsys_python.py