1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-02-03 18:16:17 +01:00

remove decoding of hdr.filename

It is wrong in this case.
This commit is contained in:
lethliel 2019-12-10 11:24:17 +01:00
parent 7621e79ddf
commit 67358c9746

View File

@ -78,7 +78,7 @@ class Fetcher:
# (which is routed to getbinaries)
# getbinaries does not support kiwi builds
if hdr.filename == b'.errors':
archive.copyin_file(decode_it(hdr.filename))
archive.copyin_file(hdr.filename)
raise oscerr.APIError('CPIO archive is incomplete '
'(see .errors file)')
if package == '_repository':