Fix a typo in the kiwi image type attribute override patch

This colon was duplicated, which is syntactically invalid and
prevents the file from loading at all.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2024-08-22 09:44:50 -07:00
parent 6ac3fefbe3
commit 3e0b8103d2

View file

@ -389,7 +389,7 @@ class KiwiCreateImageTask(BaseBuildTask):
'--description', os.path.join(os.path.basename(scmsrcdir), base_path),
'--target-dir', target_dir,
])
for typeattr in self.opts.get('type_attr', [])::
for typeattr in self.opts.get('type_attr', []):
cmd.extend(['--set-type-attr', typeattr])
rv = broot.mock(['--cwd', broot.tmpdir(within=True), '--chroot', '--'] + cmd)
if rv: