]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
qconfig: Correct unhashable-type error with --scan-source
authorSimon Glass <sjg@chromium.org>
Thu, 27 Feb 2025 19:27:19 +0000 (12:27 -0700)
committerTom Rini <trini@konsulko.com>
Tue, 18 Mar 2025 14:17:30 +0000 (08:17 -0600)
This gives an error with newer Python version, so fix it.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/qconfig.py

index 259adbe1bc9e27af393aa92f7bc1e7941656dfb4..c96a305a48f39047fc5aa27b4bbcc1126703cf2e 100755 (executable)
@@ -1453,7 +1453,7 @@ def do_scan_source(path, do_update):
     print('\nCONFIG options used as Proper in Makefiles but without a non-xPL_ variant:')
     not_found = check_not_found(all_uses, MODE_PROPER)
     show_uses(not_found)
-    proper_not_found |= {not_found.keys()}
+    proper_not_found |= not_found.keys()
 
     # Scan the source code
     all_uses, _ = scan_src_files(src_list)
@@ -1471,7 +1471,7 @@ def do_scan_source(path, do_update):
     print('\nCONFIG options used as Proper in source but without a non-xPL_ variant:')
     not_found = check_not_found(all_uses, MODE_PROPER)
     show_uses(not_found)
-    proper_not_found |= {not_found.keys()}
+    proper_not_found |= not_found.keys()
 
     print('\nCONFIG options used as SPL but without an xPL_ variant:')
     for item in sorted(spl_not_found):