KojiContentGenerator: Convert MMD to UTF-8

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko
2019-02-12 08:20:58 +01:00
parent 130911bb49
commit ae79b711d8

View File

@@ -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):
"""