Part of lp.registry.scripts.productreleasefinder.hose View In Hierarchy
This class should be instantiated with a dictionary of url and glob pairs, it will use a walker to recursively decend each URL and map each URL to a file.
It can be used as an iterator to yield (key, url) for each URL where key is one of the dictionary keys or None if none matched.
|Method||reduceWork||Simplify URL list to remove children of other elements.|
|Method||run||Run over the URL list.|
Reduces the amount of work we need to do by removing any URL from the list whose parent also appears in the list. Returns the reduced list.