diff options
-rw-r--r--[-rwxr-xr-x] | host/python/uhd/imgbuilder/image_builder.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/host/python/uhd/imgbuilder/image_builder.py b/host/python/uhd/imgbuilder/image_builder.py index 81156600e..059d40599 100755..100644 --- a/host/python/uhd/imgbuilder/image_builder.py +++ b/host/python/uhd/imgbuilder/image_builder.py @@ -235,7 +235,7 @@ class ImageBuilderConfig: setattr(desc, "parameters", {}) if "parameters" not in block: block["parameters"] = OrderedDict() - for key in block["parameters"].keys(): + for key in list(block["parameters"].keys()): if key not in desc.parameters: logging.error("Unknown parameter %s for block %s", key, name) del block["parameters"][key] |