mirror of
https://github.com/qmk/qmk_firmware.git
synced 2026-08-04 00:10:42 -04:00
Fix python syntax errors in except clauses (#26254)
* Update rules_mk.py fix syntax error * Update config_h.py second syntax error
This commit is contained in:
@@ -95,7 +95,7 @@ def generate_config_items(kb_info_json, config_h_lines):
|
||||
|
||||
try:
|
||||
config_value = kb_info_json[info_key]
|
||||
except KeyError, IndexError:
|
||||
except (KeyError, IndexError):
|
||||
continue
|
||||
|
||||
if key_type.startswith('array.array'):
|
||||
|
||||
Reference in New Issue
Block a user