Unfortunately, `folders` is the list we got from `os.walk`; we must modify it in-place, instead of returning it or anything like that.  I mean, I guess I can write that generator, `list()` it, and use slice assignment to get it back into the `folders` list... but if I were to do that, I'd just use a second `list` instead (holding the accepted directory names).