[Pkg-mozext-commits] [adblock-plus] 150/464: Make sure the descriptions list is sorted by locale code

David Prévot taffit at moszumanska.debian.org
Tue Jul 22 20:44:12 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository adblock-plus.

commit ff29cbf06fb11bcbfffa04b12a943ce259b2cff6
Author: Wladimir Palant <trev at adblockplus.org>
Date:   Mon May 16 17:10:49 2011 +0200

    Make sure the descriptions list is sorted by locale code
---
 build.py | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/build.py b/build.py
index 4d3d084..f74abc9 100644
--- a/build.py
+++ b/build.py
@@ -134,7 +134,10 @@ def showDescriptions(baseDir, scriptName, args):
     locales = packager.getLocales(baseDir, True)
 
   data = packager.readLocaleMetadata(baseDir, locales)
-  for localeCode, locale in data.iteritems():
+  localeCodes = data.keys()
+  localeCodes.sort()
+  for localeCode in localeCodes:
+    locale = data[localeCode]
     print ('''%s
 %s
 %s

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/adblock-plus.git



More information about the Pkg-mozext-commits mailing list