summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2014-12-17 22:59:10 -0600
committerDan McGee <dan@archlinux.org>2014-12-17 22:59:10 -0600
commitfe75e44d4c9cd1944a332ffe87645aa1cc692255 (patch)
tree47ee16e3921bc229770f167faf3b62ddd776c973
parent71c50a21fbb21f91253b552c3fbd9b7956261b69 (diff)
Fix thinko in leaving old code behind in keys_json
Signed-off-by: Dan McGee <dan@archlinux.org>
-rw-r--r--public/views.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/public/views.py b/public/views.py
index c0dae400..7dd0528c 100644
--- a/public/views.py
+++ b/public/views.py
@@ -142,8 +142,6 @@ def keys_json(request):
users = User.objects.filter(
is_active=True, userprofile__id__in=profile_ids).select_related(
'userprofile__pgp_key').order_by('first_name', 'last_name')
-
- users = User.objects.filter(is_active=True).select_related('userprofile')
node_list = [{
'name': user.get_full_name(),
'key': user.userprofile.pgp_key,