Skip to content
Snippets Groups Projects
Commit add11d3c authored by Ben Morrice's avatar Ben Morrice
Browse files

Bugfix

parent 02d0d8b0
No related branches found
No related tags found
No related merge requests found
Pipeline #6197356 passed
......@@ -128,7 +128,7 @@ def call_api(token, url, params=None, stream=False):
def get_upstream(token, feed):
"""retrieve full list of packages from a cset"""
arch = re.match(r"(\w+-[0-9]-\w+-)(\w+)(-\w+-\w+)", line).group(2)
arch = re.match(r"(\w+-[0-9]-\w+-)(\w+)(-\w+-\w+)", feed).group(2)
url = (
f"https://api.access.redhat.com/management/v1/packages/cset/{feed}/arch/{arch}"
)
......
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