plugin: pass repos as arrays

Currently we were passing the repo information as a comma
separated string, which is fragile, since urls can contain
commas. Just transfer them as arrays of strings.
This commit is contained in:
Christian Kellner 2020-09-17 15:36:13 +02:00 committed by Tom Gundersen
parent c6f1fa0a6f
commit 1d9612ca05
4 changed files with 9 additions and 7 deletions

View file

@ -76,7 +76,7 @@ def handle_osbuild_image(options, session, argv):
opts["release"] = args.release
if args.repo:
opts["repo"] = ",".join(args.repo)
opts["repo"] = args.repo
# Do some early checks to be able to give quick feedback
check_target(session, target)