From 883f34cde44e017e9830945d9c1597f03f756462 Mon Sep 17 00:00:00 2001 From: Tomas Kopecek Date: Tue, 5 Jan 2021 16:15:21 +0100 Subject: [PATCH] kojivmd: fix typo Fixes: https://pagure.io/koji/issue/2625 --- vm/kojivmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vm/kojivmd b/vm/kojivmd index d6e4029d..3a0c051e 100755 --- a/vm/kojivmd +++ b/vm/kojivmd @@ -788,7 +788,7 @@ class VMExecTask(BaseTaskHandler): elif algo == 'md5': sum = koji.util.md5_constructor() elif algo == 'sha256': - sum == hashlib.sha256() + sum = hashlib.sha256() else: raise koji.BuildError('unsupported checksum algorithm: %s' % algo)