summaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2014-11-08 13:43:59 -0600
committerDan McGee <dan@archlinux.org>2014-11-08 13:43:59 -0600
commiteb7172cd4d9d7af690b2be06e3f925d3023be71c (patch)
tree5ba9d30d7dc1e985e37d58ea0c04548b034ec75c /packages
parentcd22bfd73b184888df13b194ecdf6e482b36c3fc (diff)
downloadarchweb-eb7172cd4d9d7af690b2be06e3f925d3023be71c.tar.gz
archweb-eb7172cd4d9d7af690b2be06e3f925d3023be71c.zip
Convert some of URL details to Jinja2
Anytime we have a loop with >100 items, the Django template engine begins to be the bottleneck. This one is relatively straightforward to convert, and sets the stage for converting the mirror status page as well. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'packages')
-rw-r--r--packages/templatetags/jinja2.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/packages/templatetags/jinja2.py b/packages/templatetags/jinja2.py
index 22f9914b..88b59a96 100644
--- a/packages/templatetags/jinja2.py
+++ b/packages/templatetags/jinja2.py
@@ -68,5 +68,4 @@ def bug_report(package):
}
return link_encode(url, data)
-
# vim: set ts=4 sw=4 et: