From fe75e44d4c9cd1944a332ffe87645aa1cc692255 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Wed, 17 Dec 2014 22:59:10 -0600 Subject: Fix thinko in leaving old code behind in keys_json Signed-off-by: Dan McGee --- public/views.py | 2 -- 1 file changed, 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, -- cgit v1.2.3-54-g00ecf