#2412 kojid: explicit binary writing mode
Merged 3 years ago by tkopecek. Opened 3 years ago by tkopecek.
tkopecek/koji issue2411  into  master

file modified
+1 -1
@@ -2069,7 +2069,7 @@ 

          contents = contents.encode('utf-8')

  

          specfile = spec_template[:-5]

-         with open(specfile, 'w') as specfd:

+         with open(specfile, 'wb') as specfd:

              specfd.write(contents)

  

          # Run spec file sanity checks.  Any failures will throw a BuildError

Metadata Update from @tkopecek:
- Pull-request tagged with: testing-ready

3 years ago

Commit 15bb8b6 fixes this pull-request

Pull-Request has been merged by tkopecek

3 years ago

Metadata Update from @jcupova:
- Pull-request tagged with: testing-done

3 years ago