CmdRequiredOsPkg: Don't modify deps while iterating #97
Loading…
Reference in a new issue
No description provided.
Delete branch "jan/feature/20260913-cmdrequiredospkg-don-t-modify-deps-while-iterating"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
CmdRequiredOsPkg: Don't modify deps while iterating
--skip-excluded removed excluded modules from deps with deps.remove() while iterating over deps. Removing an element shifts the remaining elements to the left, so the loop skipped the entry following each removed one, and consecutively excluded modules survived the filter and leaked into the output.
Build the filtered list with a comprehension instead.