[Python-modules-commits] [sphinx] 10/12: make JavaScript locale generation deterministic

Dmitry Shachnev mitya57 at moszumanska.debian.org
Mon Jan 25 12:45:57 UTC 2016


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

mitya57 pushed a commit to branch master
in repository sphinx.

commit 62e7a7827107b946e8382754ba0db6addc6c7896
Author: Val Lorentz <progval at progval.net>
Date:   Thu Oct 8 13:58:15 2015 -0700

    make JavaScript locale generation deterministic
    
    Forwarded: https://github.com/sphinx-doc/sphinx/pull/2009
    Last-Update: 2015-08-20
    
    Patch-Name: reproducible_js_locale.diff
---
 setup.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/setup.py b/setup.py
index e656779..6d48bc1 100644
--- a/setup.py
+++ b/setup.py
@@ -162,7 +162,7 @@ else:
                         messages=jscatalog,
                         plural_expr=catalog.plural_expr,
                         locale=str(catalog.locale)
-                    ), outfile)
+                    ), outfile, sort_keys=True)
                     outfile.write(');')
                 finally:
                     outfile.close()

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/sphinx.git



More information about the Python-modules-commits mailing list