mirror of
https://github.com/openSUSE/osc.git
synced 2025-01-16 10:36:13 +01:00
Fix "osc buildinfo --prefer-pkgs <dir>..." (finally!)
This is a follow-up commit for commit ce9a6d0
("Fixed
\"osc buildinfo --prefer-pkgs...\"").
This commit is contained in:
parent
aa01b1c52a
commit
b1d6d8347b
@ -5702,9 +5702,9 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
||||
from .util import cpio
|
||||
print('Scanning the following dirs for local packages: %s' % ', '.join(opts.prefer_pkgs))
|
||||
cpiodata = cpio.CpioWrite()
|
||||
prefer_pkgs, cpio = get_prefer_pkgs(opts.prefer_pkgs, arch,
|
||||
os.path.splitext(build_descr)[1],
|
||||
cpiodata)
|
||||
prefer_pkgs = get_prefer_pkgs(opts.prefer_pkgs, arch,
|
||||
os.path.splitext(build_descr)[1],
|
||||
cpiodata)
|
||||
cpiodata.add(os.path.basename(build_descr), build_descr_data)
|
||||
build_descr_data = cpiodata.get()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user