diff options
author | Dan McGee <dan@archlinux.org> | 2015-02-03 21:22:53 -0600 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2015-02-03 21:22:53 -0600 |
commit | ba6ae553c21374b1faf401712ac9d717e27ebe7d (patch) | |
tree | e273d5aed30fc194cf995ab1b11ef28a0e1266d8 /urls.py | |
parent | a52b06c9c20475d6ba79a64239b17c5b4ffc44fe (diff) |
Sort packages correctly in the todolist notification emails
Just using sorted() here is bogus without a key function; the default
sort order is by the return value from id() in Python since we have no
__lt__ definition on the Package model. Add an explicit sort key.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'urls.py')
0 files changed, 0 insertions, 0 deletions