diff options
author | Dan McGee <dan@archlinux.org> | 2013-01-20 22:27:16 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2013-01-20 22:28:17 +0100 |
commit | 53484c45ea82a5afa8bf167f978f657b866d4c93 (patch) | |
tree | 688b9e006beff38d4a3f1ee5313bb5128cd9bc19 | |
parent | 45108ea4975419a88c2bb10ed7f3f90d6085d852 (diff) | |
download | archweb-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.py | 1 |
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: |