From ae79b711d87a7f460fad256ba7ac81bd1c285b55 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Feb 12 2019 07:21:05 +0000 Subject: KojiContentGenerator: Convert MMD to UTF-8 Signed-off-by: Igor Gnatenko --- diff --git a/module_build_service/builder/KojiContentGenerator.py b/module_build_service/builder/KojiContentGenerator.py index 27142e6..2f27788 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): """