summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mirrors/views.py2
-rw-r--r--packages/views/signoff.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/mirrors/views.py b/mirrors/views.py
index 2ef8654..e93097a 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')
diff --git a/packages/views/signoff.py b/packages/views/signoff.py
index cf00b0b..63341a1 100644
--- a/packages/views/signoff.py
+++ b/packages/views/signoff.py
@@ -180,7 +180,7 @@ class SignoffJSONEncoder(DjangoJSONEncoder):
def signoffs_json(request):
signoff_groups = sorted(get_signoff_groups(), key=attrgetter('pkgbase'))
data = {
- 'version': 1,
+ 'version': 2,
'signoff_groups': signoff_groups,
}
to_json = simplejson.dumps(data, ensure_ascii=False,