Fix typo preventing vm builds
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
This commit is contained in:
parent
60f2b4f7d4
commit
63648170df
1 changed files with 1 additions and 1 deletions
|
|
@ -702,7 +702,7 @@ class VMExecTask(BaseTaskHandler):
|
|||
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')
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue