From 227562a35860f3ece6ca74716856a40ce3491eca Mon Sep 17 00:00:00 2001 From: Jelle van der Waa Date: Wed, 22 Jul 2020 22:14:11 +0200 Subject: [PATCH] PEP8 details_link --- main/templatetags/details_link.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main/templatetags/details_link.py b/main/templatetags/details_link.py index 46f9520a..2a80cd33 100644 --- a/main/templatetags/details_link.py +++ b/main/templatetags/details_link.py @@ -54,11 +54,13 @@ def wiki_link(package): } return link_encode(url, data) + @register.simple_tag def sec_link(package): url = "https://security.archlinux.org/package/{}" return url.format(package.pkgname) + @register.simple_tag def pgp_key_link(key_id, link_text=None): return pgp.pgp_key_link(key_id, link_text)