mirror of
https://github.com/openSUSE/osc.git
synced 2025-08-04 22:53:42 +02:00
fix decoding in fetch_cpio
This commit is contained in:
@@ -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':
|
||||
|
Reference in New Issue
Block a user