kojira: use cached getTag for external repos

Fixes: https://pagure.io/koji/issue/2156
This commit is contained in:
Tomas Kopecek 2020-04-16 13:44:53 +02:00
parent a2d80c5113
commit 1bf711347f

View file

@ -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: