Merge pull request #3138 from Vogtinator/osc-workaround

Work around test failure due to osc missing a fix
This commit is contained in:
Dirk Mueller 2024-08-15 16:54:01 +02:00 committed by GitHub
commit a27e7d894f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -404,7 +404,9 @@ class StagingWorkflow(ABC):
config_lines = [] config_lines = []
for key, value in config.items(): for key, value in config.items():
config_lines.append(f'{key} = {value}') # Workaround for osc without https://github.com/openSUSE/osc/pull/1601
if key != "__name__":
config_lines.append(f'{key} = {value}')
attribute_value_save(APIURL, self.project, 'Config', '\n'.join(config_lines)) attribute_value_save(APIURL, self.project, 'Config', '\n'.join(config_lines))