maposmatic-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Maposmatic-dev] [PATCH] maposmatic: Use a list for MAP_LANGUAGES instea


From: David MENTRE
Subject: [Maposmatic-dev] [PATCH] maposmatic: Use a list for MAP_LANGUAGES instead of a tuple
Date: Mon, 21 Dec 2009 12:15:22 +0100

---
 www/settings.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/www/settings.py b/www/settings.py
index 053cb1e..9510658 100644
--- a/www/settings.py
+++ b/www/settings.py
@@ -108,14 +108,14 @@ LANGUAGES = (("fr", u"Français"),
              ("en", u"English"),
              ("de", u"Deutsch"))
 
-MAP_LANGUAGES = (("fr_FR.UTF-8", u"France"),
+MAP_LANGUAGES = [("fr_FR.UTF-8", u"France"),
                  ("fr_CA.UTF-8", u"Canada (FR)"),
                  ("fr_CH.UTF-8", u"Suisse (FR)"),
                  ("fr_LU.UTF-8", u"Luxembourg (FR)"),
                  ("en_GB.UTF-8", u"United Kingdom"),
                  ("fr_BE.UTF-8", u"Royaume de Belgique (FR)"),
                  ("de_BE.UTF-8", u"Königreich Belgien (DE)"),
-                 ("nl_BE.UTF-8", u"Koninkrijk België (NL)"))
+                 ("nl_BE.UTF-8", u"Koninkrijk België (NL)")]
 
 LOG = logging.getLogger(os.environ.get("MAPOSMATIC_LOG_TARGET",
                                        "maposmatic"))
-- 
1.6.3.3





reply via email to

[Prev in Thread] Current Thread [Next in Thread]