Skip to content

Commit

Permalink
fixup! fixup! Support repositories with mirrorlist
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikhail Sandakov committed Mar 21, 2024
1 parent c3d2a85 commit dd2e5ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rpm.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def write_repodata(repofile: str, id: str, name: str, url: str, metalink: str, m
if url is None and metalink is not None:
url = metalink
repo_format = REPO_HEAD_WITH_METALINK
else:
if url is None and mirrorlist is not None:
url = mirrorlist
repo_format = REPO_HEAD_WITH_MIRRORLIST

Expand Down

0 comments on commit dd2e5ca

Please sign in to comment.