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

Gordon Ball chronitis-guest at moszumanska.debian.org
Sun Dec 4 13:55:19 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 bcbd66f322e1a89961cd576013a286169cd2766d
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