#1666 Fix typo preventing vm builds
Merged 2 years ago by tkopecek. Opened 2 years ago by tkopecek.
tkopecek/koji issue1665  into  master

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

                      raise koji.BuildError("Downloaded rpm %s doesn't match sigmd5" % \

                          os.path.basename(fileinfo['localpath']))

              else:

-                 self.verifyChecksum(localpath, fileinfo['checksum'], koji.CHECKSUM_TYPES[fileinfo['checksum_type']], localpath)

+                 self.verifyChecksum(localpath, fileinfo['checksum'], koji.CHECKSUM_TYPES[fileinfo['checksum_type']])

  

          return open(localpath, 'r')

  

Bug introduced in PR #967 prevents vm builds to work. There is an
additional option to method verifyChecksum.

Fixes: https://pagure.io/koji/issue/1665

rebased onto 97ddf7f

2 years ago

Commit 93b3ded fixes this pull-request

Pull-Request has been merged by tkopecek

2 years ago