#1172 Fix RHBZ#1686473
Merged a month ago by jkaluza. Opened a month ago by mprahl.

@@ -471,7 +471,7 @@ 


  def submit_module_build_from_yaml(username, handle, stream=None, skiptests=False,


-     yaml_file = handle.read().decode("utf-8")

+     yaml_file = to_text_type(handle.read())

      mmd = load_mmd(yaml_file)

      dt = datetime.utcfromtimestamp(int(time.time()))

      def_name = str(os.path.splitext(os.path.basename(handle.filename))[0])

rebased onto 3d3da4d

a month ago

Looks right and tested to work for me.

(PR #1174 took a different approach, this is probably at least as good.)

Pull-Request has been merged by jkaluza

a month ago