forked from mirrors/0ad
4b3d7f018b
Instead of listing files recursively for each directory manually, this uses the built-in glob functionality of Python's pathlib.Path. As part of this the found paths are returned as generator instead of a list. Together this results in easier to read code and better performance.