From 1bf711347f413672db3148786c237a94ad24e09e Mon Sep 17 00:00:00 2001 From: Tomas Kopecek Date: May 13 2020 10:51:31 +0000 Subject: kojira: use cached getTag for external repos Fixes: https://pagure.io/koji/issue/2156 --- diff --git a/util/kojira b/util/kojira index e1e1e11..d1ba71f 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: