diff options
Diffstat (limited to 'main')
-rw-r--r-- | main/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/models.py b/main/models.py index 3d732154..d4250f3d 100644 --- a/main/models.py +++ b/main/models.py @@ -204,7 +204,7 @@ class Package(models.Model): ).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])) |