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

Gordon Ball chronitis-guest at moszumanska.debian.org
Sat Nov 19 13:49:30 UTC 2016


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

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

commit de2834e5710f7888687bd3b144aa1ea829dc2496
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 dcd57d4..3106791 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