#1143 Revert "KojiContentGenerator: Convert MMD to UTF-8"
Merged 5 years ago by mprahl. Opened 5 years ago by jkaluza.
jkaluza/fm-orchestrator revert  into  master

@@ -710,7 +710,7 @@ 

          # Fill in the list of built RPMs.

          mmd = self._fill_in_rpms_list(mmd, arch)

  

-         return text_type(mmd.dumps(), "utf-8")

+         return text_type(mmd.dumps())

  

      def _download_source_modulemd(self, mmd, output_path):

          """

This reverts commit ae79b71.

This breaks MBS with python3 and fixes only single occurence of this
issue. We want to fix this in libmodulemd or find a better way how
to fix this to work on both python2 and python3.

We have libmodulemd PR open to address this issue on libmodulemd
level: https://github.com/fedora-modularity/libmodulemd/issues/184.

Pull-Request has been merged by mprahl

5 years ago