diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-12-11 17:13:02 -0500 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-12-11 17:13:02 -0500 |
commit | 422aaee026c57b65dda81b78b6a0f49263c6dd1e (patch) | |
tree | 6bc80bcb093ed2f0932d4469a4400ce293c94860 /mirrors | |
parent | 464b8d1fa572ab57d41569d45ba94b771e0a5ced (diff) | |
parent | 83eea8e167e698f8f14ea2494837510404dc75ff (diff) |
Merge branch 'archweb' into archweb-genericarchweb-generic
# Conflicts:
# templates/public/download.html
Diffstat (limited to 'mirrors')
-rw-r--r-- | mirrors/views/api.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mirrors/views/api.py b/mirrors/views/api.py index b72585e6..581a0d5e 100644 --- a/mirrors/views/api.py +++ b/mirrors/views/api.py @@ -26,6 +26,7 @@ class MirrorStatusJSONEncoder(DjangoJSONEncoder): country = obj.country data['country'] = unicode(country.name) data['country_code'] = country.code + data['isos'] = obj.mirror.isos return data if isinstance(obj, MirrorProtocol): return unicode(obj) |