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>
This commit is contained in:
Dan McGee 2013-01-20 15:27:16 -06:00
parent 45108ea497
commit 53484c45ea

View File

@ -207,6 +207,7 @@ def get_requiredby(self):
# 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: