diff --git a/koji/__init__.py b/koji/__init__.py index 27536b2f..7f2df8bc 100644 --- a/koji/__init__.py +++ b/koji/__init__.py @@ -1012,6 +1012,11 @@ def get_header_field(hdr, name, src_arch=False): # no such header pass + # some string results are binary and should not be decoded + if name.startswith('SIG'): + return result + + # otherwise we decode any strings return _decode_item(result)