#2412 kojid: explicit binary writing mode
Merged 2 years ago by tkopecek. Opened 2 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

2 years ago

Commit 15bb8b6 fixes this pull-request

Pull-Request has been merged by tkopecek

2 years ago

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

2 years ago