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