Permalink
Browse files

shorten json indent to 1sp

  • Loading branch information...
1 parent 4d707b8 commit 49af183272a9c231562bb99dc3989b5c5e6fbad1 @minrk committed Nov 10, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 IPython/nbformat/v2/nbjson.py
@@ -51,7 +51,7 @@ class JSONWriter(NotebookWriter):
def writes(self, nb, **kwargs):
kwargs['cls'] = BytesEncoder
- kwargs['indent'] = 4
+ kwargs['indent'] = 1
kwargs['sort_keys'] = True
if kwargs.pop('split_lines', True):
nb = split_lines(copy.deepcopy(nb))

0 comments on commit 49af183

Please sign in to comment.