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

Merge pull request #704 from lethliel/remove_decoding_of_hdr_filename

remove decoding of hdr.filename
This commit is contained in:
Marco Strigl 2019-12-10 11:38:16 +01:00 committed by GitHub
commit a5014eaa92
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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':