PR#4354: add-external-repo excepts comma-separated and space-separated list

Merges #4354
https://pagure.io/koji/pull-request/4354

Fixes: #4353
https://pagure.io/koji/issue/4353
CLI: add-external-repo doesn't parse archlist according to help
This commit is contained in:
Tomas Kopecek 2025-04-29 16:37:40 +02:00
commit 742e5de5fa

View file

@ -4225,7 +4225,7 @@ def add_external_repo_to_tag(tag_info, repo_info, priority, merge_mode='koji', a
repo_id = repo['id']
if arches is not None:
arches = koji.parse_arches(arches, strict=True)
arches = koji.parse_arches(arches, strict=False)
priority = convert_value(priority, cast=int)