summaryrefslogtreecommitdiff
path: root/devel/views.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2012-11-16 16:37:31 -0600
committerDan McGee <dan@archlinux.org>2012-11-16 16:37:53 -0600
commit9e9157d0a8cbf9ea076231e438fb30f58bff8e29 (patch)
tree5c9a9711003d6eb4e5396c1c730a912bbbfc2204 /devel/views.py
parent6dd4d54bb0adbbb0f8c2b1beaa92b7a58971cf88 (diff)
Use python set comprehension syntax supported in 2.7
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'devel/views.py')
-rw-r--r--devel/views.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/devel/views.py b/devel/views.py
index 083665d9..7d5947d1 100644
--- a/devel/views.py
+++ b/devel/views.py
@@ -277,8 +277,8 @@ def report(request, report_name, username=None):
else:
raise Http404
- arches = set(pkg.arch for pkg in packages)
- repos = set(pkg.repo for pkg in packages)
+ arches = {pkg.arch for pkg in packages}
+ repos = {pkg.repo for pkg in packages}
context = {
'all_maintainers': maints,
'title': title,