diff options
author | Dan McGee <dan@archlinux.org> | 2012-11-16 16:37:31 -0600 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2012-11-16 16:37:53 -0600 |
commit | 9e9157d0a8cbf9ea076231e438fb30f58bff8e29 (patch) | |
tree | 5c9a9711003d6eb4e5396c1c730a912bbbfc2204 /packages/views | |
parent | 6dd4d54bb0adbbb0f8c2b1beaa92b7a58971cf88 (diff) |
Use python set comprehension syntax supported in 2.7
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'packages/views')
-rw-r--r-- | packages/views/signoff.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/views/signoff.py b/packages/views/signoff.py index 824a9922..340b2311 100644 --- a/packages/views/signoff.py +++ b/packages/views/signoff.py @@ -25,7 +25,7 @@ def signoffs(request): context = { 'signoff_groups': signoff_groups, 'arches': Arch.objects.all(), - 'repo_names': sorted(set(g.target_repo for g in signoff_groups)), + 'repo_names': sorted({g.target_repo for g in signoff_groups}), } return render(request, 'packages/signoffs.html', context) |