mirror of
https://github.com/openSUSE/osc.git
synced 2025-01-15 18:16:13 +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:
parent
1a92c8b995
commit
d0213c63a9
@ -118,7 +118,7 @@ DEFAULTS = {'apiurl': 'https://api.opensuse.org',
|
|||||||
'build-kernel': '', # optional for VM builds
|
'build-kernel': '', # optional for VM builds
|
||||||
'build-initrd': '', # 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
|
'builtin_signature_check': '1', # by default use builtin check for verify pkgs
|
||||||
'icecream': '0',
|
'icecream': '0',
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user