You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
koji/0002-fix-additional-commas....

41 lines
1.4 KiB

From 0ccf95b7aa3332585217d5da2ff7b255e9cd4b14 Mon Sep 17 00:00:00 2001
From: Tomas Kopecek <tkopecek@redhat.com>
Date: Fri, 4 Nov 2022 10:06:48 +0100
Subject: [PATCH 2/6] fix additional commas
(cherry picked from commit 066e7427efca7a581cb1a63974dfdfec8194bd70)
---
plugins/cli/kiwi.py | 2 +-
plugins/hub/kiwi.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/plugins/cli/kiwi.py b/plugins/cli/kiwi.py
index 07125d75..6e965c05 100644
--- a/plugins/cli/kiwi.py
+++ b/plugins/cli/kiwi.py
@@ -61,7 +61,7 @@ def handle_kiwi_build(goptions, session, args):
for arch in options.optional_arches.split(',')
if arch]
if options.kiwi_profile:
- kwargs['profile'] = options.kiwi_profile,
+ kwargs['profile'] = options.kiwi_profile
if options.release:
kwargs['release'] = options.release
if options.make_prep:
diff --git a/plugins/hub/kiwi.py b/plugins/hub/kiwi.py
index 17b8e8e4..7b0c2f05 100644
--- a/plugins/hub/kiwi.py
+++ b/plugins/hub/kiwi.py
@@ -51,7 +51,7 @@ def kiwiBuild(target, arches, desc_url, desc_path, optional_arches=None, profile
if release:
opts['release'] = release
if optional_arches:
- opts['optional_arches'] = optional_arches,
+ opts['optional_arches'] = optional_arches
if repos:
opts['repos'] = repos
if make_prep:
--
2.38.1