From 1bf711347f413672db3148786c237a94ad24e09e Mon Sep 17 00:00:00 2001 From: Tomas Kopecek Date: Thu, 16 Apr 2020 13:44:53 +0200 Subject: [PATCH] kojira: use cached getTag for external repos Fixes: https://pagure.io/koji/issue/2156 --- util/kojira | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/kojira b/util/kojira index e1e1e11c..d1ba71f8 100755 --- a/util/kojira +++ b/util/kojira @@ -380,7 +380,7 @@ class RepoManager(object): self.external_repos[url] = 0 arches = [] # placeholder for repos without $arch bit try: - arches = self.session.getTag(tag)['arches'].split() + arches = getTag(self.session, tag)['arches'].split() except AttributeError: pass for arch in arches: