mirror of
https://github.com/openSUSE/osc.git
synced 2025-01-12 08:56:13 +01:00
Merge pull request #1236 from dmach/build-fix-extra-pkgs
build: Fix reading extra-pkgs from oscrc
This commit is contained in:
commit
6985922d75
@ -871,7 +871,7 @@ def main(apiurl, opts, argv):
|
||||
|
||||
extra_pkgs = []
|
||||
if not opts.extra_pkgs:
|
||||
extra_pkgs = getattr(config, 'extra-pkgs', extra_pkgs)
|
||||
extra_pkgs = config.get('extra-pkgs', [])
|
||||
elif opts.extra_pkgs != ['']:
|
||||
extra_pkgs = opts.extra_pkgs
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user