Skip to content
Snippets Groups Projects
Commit 9cd5af67 authored by Duncan Macleod's avatar Duncan Macleod Committed by Duncan Macleod
Browse files

api: pedantic style updates

parent 9d42e177
No related branches found
No related tags found
1 merge request!64Add support for OSDF URL transforms
......@@ -259,9 +259,17 @@ def _get_latest_segment(seglist, duration):
return segment(end-duration, end)
def _find_urls(ext, site, tag, start, end, urltype=None, match=None,
latest=False):
"""Find all URLs for the given GPS interval
def _find_urls(
ext,
site,
tag,
start,
end,
urltype=None,
match=None,
latest=False,
):
"""Find all URLs for the given GPS interval.
"""
cache = get_dataset_cache(ext, site, tag)
......@@ -309,6 +317,7 @@ def _find_urls(ext, site, tag, start, end, urltype=None, match=None,
urls = []
for lfn in allurls:
urls.extend(_filter_urls(allurls[lfn], urltype=urltype, regex=match))
return urls
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment