Unify calls to applicable_arches()
Invoke the function everywhere it is used rather than passing a callable. Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
parent
3fb20c942d
commit
330048eab6
@ -264,7 +264,7 @@ def split_packages(self):
|
||||
repo.testing flag. For any non-split packages, the return value will be
|
||||
an empty list.
|
||||
"""
|
||||
return Package.objects.filter(arch__in=self.applicable_arches,
|
||||
return Package.objects.filter(arch__in=self.applicable_arches(),
|
||||
repo__testing=self.repo.testing, pkgbase=self.pkgbase).exclude(id=self.id)
|
||||
|
||||
def get_svn_link(self, svnpath):
|
||||
|
Loading…
Reference in New Issue
Block a user