diff options
author | Dan McGee <dan@archlinux.org> | 2014-10-21 20:33:12 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2014-10-21 20:33:12 -0500 |
commit | d009cd0b5c4ba018681942daa59452fe2b1a42c2 (patch) | |
tree | fa820a2a78eda16a95acc1598e86c510552436e7 /mirrors/utils.py | |
parent | 69d771978bcf7d70d106c3e704fde203451fd48e (diff) |
Fix error when viewing mirror with no active URLs
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'mirrors/utils.py')
-rw-r--r-- | mirrors/utils.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mirrors/utils.py b/mirrors/utils.py index 51daf50e..930adb8d 100644 --- a/mirrors/utils.py +++ b/mirrors/utils.py @@ -141,6 +141,7 @@ def get_mirror_statuses(cutoff=DEFAULT_CUTOFF, mirror_id=None, show_all=False): else: check_frequency = None else: + urls = [] last_check = None num_checks = 0 check_frequency = None |