1
0
Fork 0
forked from forks/qmk_firmware
qmk_firmware/lib/python
Sergey Vlasov 62cca5c43a
qmk find: Fix failure with multiple filters (#22497)
When multiple `-f FILTER` options were specified, `qmk find` did not
return anything at all instead of printing the list of entries that
matched all of the specified filters.

The problem was that the statement in `_filter_keymap_targets()` that
filled `targets` had a wrong indent and therefore was executed for every
filter instead of only once after applying all filters, and
`valid_keymaps` was actually an iterator and therefore could be used
only once.  Moving the statement outside of the loop fixes the problem.
2023-11-19 08:26:00 +11:00
..
qmk qmk find: Fix failure with multiple filters (#22497) 2023-11-19 08:26:00 +11:00
kle2xy.py [kle2info] Trim the code in kle2xy (#8955) 2020-05-15 12:09:22 -07:00