#1618 write binary data to ks file
Merged 2 years ago by tkopecek. Opened 2 years ago by tkopecek.
tkopecek/koji issue1617  into  master

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

              tops['tempdir'] = self.workdir

              with koji.openRemoteFile(ksfile, **tops) as ks_src:

                  kspath = os.path.join(self.workdir, os.path.basename(ksfile))

-                 with open(kspath, 'w') as ks_dest:

+                 with open(kspath, 'wb') as ks_dest:


          self.logger.debug('uploading kickstart from here: %s' % kspath)

          self.uploadFile(kspath) # upload the original ks file

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

2 years ago

Commit 22e606b fixes this pull-request

Pull-Request has been merged by tkopecek

2 years ago