diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2014-05-25 19:35:48 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2014-05-25 19:35:48 -0400 |
commit | f8e3c3b96277dc66a0d378b5d825bf1837daf1ee (patch) | |
tree | a14af7bf10f170938de28c316c1271d247e16d3c /mirrors/utils.py | |
parent | 6e6f3c906c59360c792d3387eb0662f7f0f3eddc (diff) | |
parent | 824bd93116c4c0a48d7112ae0bceb46e70851df5 (diff) |
Merge branch 'master-nomake'
Diffstat (limited to 'mirrors/utils.py')
-rw-r--r-- | mirrors/utils.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mirrors/utils.py b/mirrors/utils.py index 0dd26ae0..fe18cd6a 100644 --- a/mirrors/utils.py +++ b/mirrors/utils.py @@ -88,6 +88,8 @@ def annotate_url(url, url_data): ('success_count', 0), ('check_count', 0), ('completion_pct', None), + ('duration_avg', None), + ('duration_stddev', None), ('last_check', None), ('last_sync', None), ('delay', None), @@ -177,7 +179,7 @@ def get_mirror_errors(cutoff=DEFAULT_CUTOFF, mirror_id=None, show_all=False): errors = list(errors) for err in errors: - err['country'] = Country(err['url__country']) + err['country'] = Country(err['url__country'], flag_url='') return errors |