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

Gordon Ball chronitis-guest at moszumanska.debian.org
Tue Feb 6 15:11:09 UTC 2018


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

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

commit a9cef4b6369f3ea1cc99695032e841c00f489e10
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