diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-07-14 15:07:59 -0600 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-07-14 15:07:59 -0600 |
commit | d10acd3ebf889fc50054b4da9c1962bad79533e1 (patch) | |
tree | 38970704a658d9ed31585c5518007d48ade6bac6 /mirrors/views.py | |
parent | 9b6561a2c1a99023a5cad68a1763a07c4aecae8d (diff) | |
parent | 7f7598cf43e6b630ac21bc9a435773773213ea60 (diff) |
Merge branch 'archweb-generic2'
Conflicts:
Makefile
templates/public/index.html
Diffstat (limited to 'mirrors/views.py')
-rw-r--r-- | mirrors/views.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mirrors/views.py b/mirrors/views.py index 6f4ad838..ec056696 100644 --- a/mirrors/views.py +++ b/mirrors/views.py @@ -161,7 +161,7 @@ def mirror_details(request, name): status_info = get_mirror_statuses(mirror_id=mirror.id) checked_urls = {url for url in status_info['urls'] \ if url.mirror_id == mirror.id} - all_urls = set(mirror.urls.select_related('protocol')) + all_urls = set(mirror.urls.filter(active=True).select_related('protocol')) # Add dummy data for URLs that we haven't checked recently other_urls = all_urls.difference(checked_urls) for url in other_urls: |