summaryrefslogtreecommitdiffstats
path: root/main/models.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2013-01-20 15:27:16 -0600
committerDan McGee <dan@archlinux.org>2013-01-20 15:28:17 -0600
commit53484c45ea82a5afa8bf167f978f657b866d4c93 (patch)
tree688b9e006beff38d4a3f1ee5313bb5128cd9bc19 /main/models.py
parent45108ea4975419a88c2bb10ed7f3f90d6085d852 (diff)
downloadarchweb-53484c45ea82a5afa8bf167f978f657b866d4c93.tar.gz
archweb-53484c45ea82a5afa8bf167f978f657b866d4c93.zip
Fix error in get_requiredby() when checking providesrelease_2013-01-20
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>
Diffstat (limited to 'main/models.py')
-rw-r--r--main/models.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/main/models.py b/main/models.py
index 88f0ecd1..40466d65 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: