fixed comment wording

This commit is contained in:
eliott 2008-04-17 00:59:32 -07:00
parent 54c30baf0b
commit d2b0a40005

View File

@ -204,7 +204,7 @@ def get_requiredby(self):
).order_by('depname')
for req in requiredby:
reqs.append((req.pkg.id,req.pkg.pkgname))
## sort the resultant array. Django has problems in the orm with
## sort the resultant list. Django has problems in the orm with
## trying to shoehorn the sorting into the reverse foreign key
## reference in the query above. :(
reqs.sort(lambda a,b: cmp(a[1],b[1]))