summaryrefslogtreecommitdiff
path: root/mirrors/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'mirrors/utils.py')
-rw-r--r--mirrors/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mirrors/utils.py b/mirrors/utils.py
index 9aa8e0f5..f2c98ee0 100644
--- a/mirrors/utils.py
+++ b/mirrors/utils.py
@@ -44,7 +44,7 @@ def get_mirror_statuses(cutoff=default_cutoff):
vendor = database_vendor(MirrorUrl)
if vendor != 'sqlite':
- urls.annotate(duration_stddev=StdDev('logs__duration'))
+ urls = urls.annotate(duration_stddev=StdDev('logs__duration'))
# The Django ORM makes it really hard to get actual average delay in the
# above query, so run a seperate query for it and we will process the