Fix the build. Can't modify a list while iterating over it. Stoopid python