diff options
Diffstat (limited to 'scripts/lib/recipetool/create_buildsys_python.py')
| -rw-r--r-- | scripts/lib/recipetool/create_buildsys_python.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/lib/recipetool/create_buildsys_python.py b/scripts/lib/recipetool/create_buildsys_python.py index ec5449bee9..5bd2aa337c 100644 --- a/scripts/lib/recipetool/create_buildsys_python.py +++ b/scripts/lib/recipetool/create_buildsys_python.py | |||
| @@ -356,6 +356,8 @@ class PythonRecipeHandler(RecipeHandler): | |||
| 356 | # Naive mapping of setup() arguments to PKG-INFO field names | 356 | # Naive mapping of setup() arguments to PKG-INFO field names |
| 357 | for d in [info, non_literals]: | 357 | for d in [info, non_literals]: |
| 358 | for key, value in list(d.items()): | 358 | for key, value in list(d.items()): |
| 359 | if key is None: | ||
| 360 | continue | ||
| 359 | new_key = _map(key) | 361 | new_key = _map(key) |
| 360 | if new_key != key: | 362 | if new_key != key: |
| 361 | del d[key] | 363 | del d[key] |
