mirror of
https://github.com/openSUSE/osc.git
synced 2024-12-25 01:16:14 +01:00
build: Fix reading extra-pkgs from oscrc
This commit is contained in:
parent
71ce566b68
commit
c6e8fd103e
@ -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