diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2012-12-12 19:16:13 -0500 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2012-12-12 19:16:13 -0500 |
commit | cdfa6c1195bb6feb812bffc981183f0758ca5e2f (patch) | |
tree | d06b43424ad16f905fac7f2af54fec3fbc428e5f /packages/views/search.py | |
parent | 4b700666e3405b8dc1891dd7e156b233333c7912 (diff) | |
parent | fd1c992472ea259111a2f4930b73a805c07ee068 (diff) |
Merge tag 'release_2012-03-25'
Django 1.4 upgrade and a bunch of other stuff
Diffstat (limited to 'packages/views/search.py')
-rw-r--r-- | packages/views/search.py | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/packages/views/search.py b/packages/views/search.py index 65fcddb3..1431893d 100644 --- a/packages/views/search.py +++ b/packages/views/search.py @@ -44,9 +44,6 @@ class PackageSearchForm(forms.Form): flagged = forms.ChoiceField( choices=[('', 'All')] + make_choice(['Flagged', 'Not Flagged']), required=False) - signed = forms.ChoiceField( - choices=[('', 'All')] + make_choice(['Signed', 'Unsigned']), - required=False) limit = LimitTypedChoiceField( choices=make_choice([50, 100, 250]) + [('all', 'All')], coerce=coerce_limit_value, @@ -97,11 +94,6 @@ def parse_form(form, packages): elif form.cleaned_data['flagged'] == 'Not Flagged': packages = packages.filter(flag_date__isnull=True) - if form.cleaned_data['signed'] == 'Signed': - packages = packages.filter(pgp_signature__isnull=False) - elif form.cleaned_data['signed'] == 'Unsigned': - packages = packages.filter(pgp_signature__isnull=True) - if form.cleaned_data['last_update']: lu = form.cleaned_data['last_update'] packages = packages.filter(last_update__gte= |