summaryrefslogtreecommitdiff
path: root/mirrors
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2012-07-08 21:53:35 -0500
committerDan McGee <dan@archlinux.org>2012-07-08 21:53:35 -0500
commit9c7350650e66b5eb6228778e335a160be5ea7f98 (patch)
treeb1f86ac2af8a544e88146f3ea2f8510b5f5b494b /mirrors
parentd7c0ae9b555ff45d0cbaca09f4f427c7e1758d4f (diff)
Correctly reassign queryset with added annotation in mirror statusrelease_2012-07-08
This was a dumb oversight on my part in commit 0f3c894e7a0. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'mirrors')
-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