From ae79b711d87a7f460fad256ba7ac81bd1c285b55 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Tue, 12 Feb 2019 08:20:58 +0100 Subject: [PATCH] KojiContentGenerator: Convert MMD to UTF-8 Signed-off-by: Igor Gnatenko --- module_build_service/builder/KojiContentGenerator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module_build_service/builder/KojiContentGenerator.py b/module_build_service/builder/KojiContentGenerator.py index 27142e61..2f277881 100644 --- a/module_build_service/builder/KojiContentGenerator.py +++ b/module_build_service/builder/KojiContentGenerator.py @@ -710,7 +710,7 @@ class KojiContentGenerator(object): # Fill in the list of built RPMs. mmd = self._fill_in_rpms_list(mmd, arch) - return text_type(mmd.dumps()) + return text_type(mmd.dumps(), "utf-8") def _download_source_modulemd(self, mmd, output_path): """