summaryrefslogtreecommitdiff
path: root/releng/views.py
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-04-23 15:03:23 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-04-23 15:03:23 -0400
commit4ddc952c7720e95a6ec74dcded14cc403585ceab (patch)
tree79e02937f3a55591f44f2416e4d6077267cf7924 /releng/views.py
parentdfc054126b834df116522993f4a5bbd7837111eb (diff)
introduce BRANDING_SLUG for releng
Diffstat (limited to 'releng/views.py')
-rw-r--r--releng/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/releng/views.py b/releng/views.py
index ca0a7dd2..bc7ddb34 100644
--- a/releng/views.py
+++ b/releng/views.py
@@ -234,7 +234,7 @@ def release_torrent(request, version):
data = b64decode(release.torrent_data.encode('utf-8'))
response = HttpResponse(data, content_type='application/x-bittorrent')
# TODO: this is duplicated from Release.iso_url()
- filename = 'archlinux-%s-dual.iso.torrent' % release.version
+ filename = '%s-%s-dual.iso.torrent' % (settings.BRANDING_SLUG, release.version)
response['Content-Disposition'] = 'attachment; filename=%s' % filename
return response