From 67358c9746b34dbeb618e037170aeb0f570c9e41 Mon Sep 17 00:00:00 2001 From: lethliel Date: Tue, 10 Dec 2019 11:24:17 +0100 Subject: [PATCH] remove decoding of hdr.filename It is wrong in this case. --- osc/fetch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osc/fetch.py b/osc/fetch.py index bcf17c03..290a0736 100644 --- a/osc/fetch.py +++ b/osc/fetch.py @@ -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':