summaryrefslogtreecommitdiff
path: root/devel/admin.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2013-09-30 20:39:59 -0500
committerDan McGee <dan@archlinux.org>2013-09-30 20:45:10 -0500
commit92136757bfd20563999b0e1cf3f05685b60da6bd (patch)
treef74e0fa50f1e9b3cc5e403c991d2da66b9b33e16 /devel/admin.py
parentb3321537d3ec91fd6f8d1123881a94a0490f1bdc (diff)
Proper support for revoked signatures
The 'valid' column wasn't quite right. Add a new 'revoked' column that works similar to the one we have on keys and use it instead, properly parsing the output from `gpg` signature data and looking for the magic prefix string. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'devel/admin.py')
-rw-r--r--devel/admin.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/devel/admin.py b/devel/admin.py
index 971933b7..c8f80f95 100644
--- a/devel/admin.py
+++ b/devel/admin.py
@@ -29,8 +29,7 @@ class DeveloperKeyAdmin(admin.ModelAdmin):
class PGPSignatureAdmin(admin.ModelAdmin):
- list_display = ('signer', 'signee', 'created', 'expires', 'valid')
- list_filter = ('valid',)
+ list_display = ('signer', 'signee', 'created', 'expires', 'revoked')
search_fields = ('signer', 'signee')
date_hierarchy = 'created'