Fix missing attribute error in replacment find code
Whoops. Just introduced this when ensuring we look for both the packgae in other repositories as well as any replacments. Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
parent
f357a39a49
commit
4d7d08f93d
@ -326,7 +326,8 @@ def replacements(self):
|
||||
replaces__name=self.pkgname)
|
||||
if not self.arch.agnostic:
|
||||
# make sure we match architectures if possible
|
||||
arches = self.pkg.applicable_arches()
|
||||
arches = set(Arch.objects.filter(agnostic=True))
|
||||
arches.add(self.arch)
|
||||
pkgs = pkgs.filter(arch__in=arches)
|
||||
return pkgs
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user