From f464160ac61f814c551d0e269f92f623c727ef74 Mon Sep 17 00:00:00 2001 From: Tomas Kopecek Date: Jul 11 2018 21:37:40 +0000 Subject: fix tuple expansion in args --- diff --git a/util/koji-shadow b/util/koji-shadow index 453f8cc..ec079f4 100755 --- a/util/koji-shadow +++ b/util/koji-shadow @@ -662,9 +662,9 @@ class BuildTracker(object): return grey return default - def rpmvercmp(self, (e1, v1, r1), (e2, v2, r2)): + def rpmvercmp(self, nvr1, nvr2): """find out which build is newer""" - rc = rpm.labelCompare((e1, v1, r1), (e2, v2, r2)) + rc = rpm.labelCompare(nvr1, nvr2) if rc == 1: #first evr wins return 1