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