Skip to content

Commit

Permalink
Merge pull request #3138 from Vogtinator/osc-workaround
Browse files Browse the repository at this point in the history
Work around test failure due to osc missing a fix
  • Loading branch information
dirkmueller committed Aug 15, 2024
2 parents d3ff6c6 + 2cb3f96 commit a27e7d8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/OBSLocal.py
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,9 @@ def remote_config_set(self, config, replace_all=False):

config_lines = []
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))

Expand Down

0 comments on commit a27e7d8

Please sign in to comment.