summaryrefslogtreecommitdiff
path: root/mirrors/views.py
diff options
context:
space:
mode:
Diffstat (limited to 'mirrors/views.py')
-rw-r--r--mirrors/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mirrors/views.py b/mirrors/views.py
index 2ef8654d..e93097a3 100644
--- a/mirrors/views.py
+++ b/mirrors/views.py
@@ -169,7 +169,7 @@ class MirrorStatusJSONEncoder(DjangoJSONEncoder):
def status_json(request):
status_info = get_mirror_statuses()
data = status_info.copy()
- data['version'] = 1
+ data['version'] = 2
to_json = simplejson.dumps(data, ensure_ascii=False,
cls=MirrorStatusJSONEncoder)
response = HttpResponse(to_json, mimetype='application/json')