mirror of
https://github.com/openSUSE/osc.git
synced 2025-01-13 17:16:23 +01:00
Merge pull request #696 from lethliel/fix_fetch_cpio_decoding
fix decoding in fetch_cpio
This commit is contained in:
commit
26bb6b4765
@ -73,8 +73,8 @@ class Fetcher:
|
||||
# getbinarylist instead of the public/... route
|
||||
# (which is routed to getbinaries)
|
||||
# getbinaries does not support kiwi builds
|
||||
if hdr.filename == '.errors':
|
||||
archive.copyin_file(hdr.filename)
|
||||
if hdr.filename == b'.errors':
|
||||
archive.copyin_file(decode_it(hdr.filename))
|
||||
raise oscerr.APIError('CPIO archive is incomplete '
|
||||
'(see .errors file)')
|
||||
if package == '_repository':
|
||||
|
Loading…
Reference in New Issue
Block a user