summaryrefslogtreecommitdiff
path: root/urls.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-06-17 00:29:00 -0500
committerDan McGee <dan@archlinux.org>2010-07-02 18:34:09 -0500
commite5bd7694320185cd1613f8c026d0f9e7bf2a2316 (patch)
tree2e5343e66a5e9fa2ad3a607f495995c4df44a3e8 /urls.py
parent4676d4474b6286a34823560475426ec91f2cd2a6 (diff)
Remove arch from mirrorlist generation
With pacman 3.4.0, we can now use the $arch variable so we don't need architecture-specific mirrorlists. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'urls.py')
-rw-r--r--urls.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/urls.py b/urls.py
index 64e60ccb..75de9546 100644
--- a/urls.py
+++ b/urls.py
@@ -66,10 +66,7 @@ urlpatterns = patterns('',
(r'^mirrors/$', 'devel.views.mirrorlist'),
(r'^mirrorlist/$', 'mirrors.views.choose'),
- (r'^mirrorlist/(?P<arch>[\S]+)/(?P<country>[A-z0-9 ]+)/$',
- 'mirrors.views.generate'),
- (r'^mirrorlist/(?P<arch>[\S]+)/$',
- 'mirrors.views.generate'),
+ (r'^mirrorlist/(?P<country>[A-z0-9 ]+)/$', 'mirrors.views.generate'),
(r'^devel/$', 'devel.views.index'),
(r'^devel/notify/$', 'devel.views.change_notify'),