[Python-modules-commits] [ipykernel] 05/09: Made build reproducible -- patch by Daniel Shahaf

Gordon Ball chronitis-guest at moszumanska.debian.org
Wed Dec 13 08:50:55 UTC 2017


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

chronitis-guest pushed a commit to branch master
in repository ipykernel.

commit 5944474422227c023ecc7f2d0ee374ecfecf9f27
Author: Julien Puydt <julien.puydt at laposte.net>
Date:   Sun Oct 2 14:32:58 2016 +0200

    Made build reproducible -- patch by Daniel Shahaf
---
 ipykernel/kernelspec.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ipykernel/kernelspec.py b/ipykernel/kernelspec.py
index bce8051..1b69d0c 100644
--- a/ipykernel/kernelspec.py
+++ b/ipykernel/kernelspec.py
@@ -78,7 +78,7 @@ def write_kernel_spec(path=None, overrides=None, extra_arguments=None):
     if overrides:
         kernel_dict.update(overrides)
     with open(pjoin(path, 'kernel.json'), 'w') as f:
-        json.dump(kernel_dict, f, indent=1)
+        json.dump(kernel_dict, f, indent=1, sort_keys=True)
     
     return path
 

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



More information about the Python-modules-commits mailing list