summaryrefslogtreecommitdiff
path: root/releng
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-04-22 00:51:50 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-04-22 00:51:50 -0400
commitdf17d5b1855eab77be0ade70613e4f93db0034ea (patch)
tree77ecd595d6d8a64da0bfadc8e0947ab80160d407 /releng
parentdf7a6aa620af6a165bdacd755757f8cb1179331c (diff)
take care of a few introduced arch-isms
Diffstat (limited to 'releng')
-rw-r--r--releng/models.py4
-rw-r--r--releng/views.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/releng/models.py b/releng/models.py
index 5ee2f325..a7d3c337 100644
--- a/releng/models.py
+++ b/releng/models.py
@@ -142,11 +142,11 @@ class Release(models.Model):
return "iso/%s/" % self.version
def iso_url(self):
- return "iso/%s/archlinux-%s-dual.iso" % (self.version, self.version)
+ return "iso/%s/parabola-%s-dual.iso" % (self.version, self.version)
def magnet_uri(self):
query = [
- ('dn', "archlinux-%s-dual.iso" % self.version),
+ ('dn', "parabola-%s-dual.iso" % self.version),
]
if settings.TORRENT_TRACKERS:
query.extend(('tr', uri) for uri in settings.TORRENT_TRACKERS)
diff --git a/releng/views.py b/releng/views.py
index ca0a7dd2..37f19273 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 = 'parabola-%s-dual.iso.torrent' % release.version
response['Content-Disposition'] = 'attachment; filename=%s' % filename
return response