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 a6eec9ca..4370fa24 100644
--- a/main/models.py
+++ b/main/models.py
@@ -193,7 +193,7 @@ class Package(models.Model):
# find another package by this name in the opposite testing setup
if not Package.objects.filter(pkgname=self.pkgname,
- arch=self.arch).exclude(id=self.id,
+ arch=self.arch).exclude(id=self.id).exclude(
repo__testing=self.repo.testing).exists():
# there isn't one? short circuit, all required by entries are fine
return requiredby