PR#2157: kojira: use cached getTag for external repos
Merges #2157 https://pagure.io/koji/pull-request/2157 Fixes: #2156 https://pagure.io/koji/issue/2156 use cached getTag in kojira for external repos
This commit is contained in:
commit
2a8505e461
1 changed files with 1 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue