]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
recipetool: create: fix failure handling included dicts paule/recipetool-fix2
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Sun, 12 Nov 2017 21:49:06 +0000 (10:49 +1300)
committerPaul Eggleton <paul.eggleton@linux.intel.com>
Sun, 12 Nov 2017 21:59:08 +0000 (10:59 +1300)
commit5c396e4795c8314caa84c2f6cc2842f53f59dfaf
tree9d0624cbd45ac0ac03a7d0d1cac9142706e08068
parenta17f3ec910366e9e7551fa24fbc07929b9584341
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>
scripts/lib/recipetool/create_buildsys_python.py