summaryrefslogtreecommitdiff
path: root/main/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'main/models.py')
-rw-r--r--main/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/models.py b/main/models.py
index abbe050b..a022b8eb 100644
--- a/main/models.py
+++ b/main/models.py
@@ -249,7 +249,7 @@ class Package(models.Model):
elif len(pkgs) == 1:
deps.append({'dep': dep, 'pkg': pkgs[0]})
else:
- tpkgs = pkgs.filter(repo__name='Testing')
+ tpkgs = pkgs.filter(repo__testing=True)
if len(tpkgs) == 1:
deps.append({'dep': dep, 'pkg': tpkgs[0]})
else: