mirror of
https://github.com/openSUSE/osc.git
synced 2025-01-16 18:36:15 +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
|
from .util import cpio
|
||||||
print('Scanning the following dirs for local packages: %s' % ', '.join(opts.prefer_pkgs))
|
print('Scanning the following dirs for local packages: %s' % ', '.join(opts.prefer_pkgs))
|
||||||
cpiodata = cpio.CpioWrite()
|
cpiodata = cpio.CpioWrite()
|
||||||
prefer_pkgs, cpio = get_prefer_pkgs(opts.prefer_pkgs, arch,
|
prefer_pkgs = get_prefer_pkgs(opts.prefer_pkgs, arch,
|
||||||
os.path.splitext(build_descr)[1],
|
os.path.splitext(build_descr)[1],
|
||||||
cpiodata)
|
cpiodata)
|
||||||
cpiodata.add(os.path.basename(build_descr), build_descr_data)
|
cpiodata.add(os.path.basename(build_descr), build_descr_data)
|
||||||
build_descr_data = cpiodata.get()
|
build_descr_data = cpiodata.get()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user