summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2013-01-20 22:27:16 +0100
committerDan McGee <dan@archlinux.org>2013-01-20 22:28:17 +0100
commit53484c45ea82a5afa8bf167f978f657b866d4c93 (patch)
tree688b9e006beff38d4a3f1ee5313bb5128cd9bc19
parent45108ea4975419a88c2bb10ed7f3f90d6085d852 (diff)
downloadarchweb-53484c45ea82a5afa8bf167f978f657b866d4c93.tar.gz
archweb-53484c45ea82a5afa8bf167f978f657b866d4c93.tar.xz
Fix error in get_requiredby() when checking provides
The query refactor in commit 1b1b516bd removed a queryset I didn't realize was getting used elsewhere in the function. Signed-off-by: Dan McGee <dan@archlinux.org>
-rw-r--r--main/models.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/main/models.py b/main/models.py
index 88f0ecd..40466d6 100644
--- a/main/models.py
+++ b/main/models.py
@@ -207,6 +207,7 @@ class Package(models.Model):
# version comparison operators they may specify
alpm = AlpmAPI()
if alpm.available:
+ provides = self.provides.all()
new_rqd = []
for dep in requiredby:
if not dep.comparison or not dep.version: