1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-12-27 10:16:14 +01:00

All values in the conf.DEFAULTS dict should be strings

Non-strings cause errors during config value interpolation.

Fixes: #372 ("Commit causes crash: The 'build-jobs' config option
should be an integer")
This commit is contained in:
Marcus Huewe 2018-01-24 14:00:02 +01:00
parent 1a92c8b995
commit d0213c63a9

View File

@ -118,7 +118,7 @@ DEFAULTS = {'apiurl': 'https://api.opensuse.org',
'build-kernel': '', # optional for VM builds
'build-initrd': '', # optional for VM builds
'build-jobs': _get_processors(),
'build-jobs': str(_get_processors()),
'builtin_signature_check': '1', # by default use builtin check for verify pkgs
'icecream': '0',