[tor-commits] [metrics-web/master] Add South Sudan (ccTLD .ss) to list of contries.

karsten at torproject.org karsten at torproject.org
Wed Jan 8 15:10:27 UTC 2014


commit 473fe12f0398be78049c8922103cfbc3a816d0c8
Author: Karsten Loesing <karsten.loesing at gmx.net>
Date:   Wed Jan 8 16:07:10 2014 +0100

    Add South Sudan (ccTLD .ss) to list of contries.
---
 detector/country_info.py                           |    1 +
 rserve/graphs.R                                    |    1 +
 src/org/torproject/ernie/web/graphs/Countries.java |    1 +
 3 files changed, 3 insertions(+)

diff --git a/detector/country_info.py b/detector/country_info.py
index 9dbdeb5..e23728e 100644
--- a/detector/country_info.py
+++ b/detector/country_info.py
@@ -208,6 +208,7 @@ countries = {
     "sn" : "Senegal",
     "so" : "Somalia",
     "sr" : "Suriname",
+    "ss" : "South Sudan",
     "st" : u"São Tomé and Príncipe",
     "sv" : "El Salvador",
     "sy" : "the Syrian Arab Republic",
diff --git a/rserve/graphs.R b/rserve/graphs.R
index 5538e68..c4170e7 100644
--- a/rserve/graphs.R
+++ b/rserve/graphs.R
@@ -206,6 +206,7 @@ countrylist <- list(
   "sn" = "Senegal",
   "so" = "Somalia",
   "sr" = "Suriname",
+  "ss" = "South Sudan",
   "st" = "São Tomé and Príncipe",
   "sv" = "El Salvador",
   "sy" = "the Syrian Arab Republic",
diff --git a/src/org/torproject/ernie/web/graphs/Countries.java b/src/org/torproject/ernie/web/graphs/Countries.java
index c702684..93dac4c 100644
--- a/src/org/torproject/ernie/web/graphs/Countries.java
+++ b/src/org/torproject/ernie/web/graphs/Countries.java
@@ -233,6 +233,7 @@ public class Countries {
     this.knownCountries.add("za;South Africa".split(";"));
     this.knownCountries.add(("gs;South Georgia and the South Sandwich "
         + "Islands").split(";"));
+    this.knownCountries.add("ss;South Sudan".split(";"));
     this.knownCountries.add("es;Spain".split(";"));
     this.knownCountries.add("lk;Sri Lanka".split(";"));
     this.knownCountries.add("sd;Sudan".split(";"));



More information about the tor-commits mailing list