summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--packages/templatetags/package_extras.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/templatetags/package_extras.py b/packages/templatetags/package_extras.py
index 1aedf67..d87a74a 100644
--- a/packages/templatetags/package_extras.py
+++ b/packages/templatetags/package_extras.py
@@ -103,7 +103,7 @@ def scm_link(package, operation):
linkbase = (
"https://projects.archlinux.org/svntogit/%s.git/%s/trunk?"
"h=packages/%s")
- return linkbase % tuple(urlquote(part) for part in parts)
+ return linkbase % tuple(urlquote(part.encode('utf-8')) for part in parts)
@register.simple_tag