Skip to content

Commit

Permalink
shorten json indent to 1sp
Browse files Browse the repository at this point in the history
  • Loading branch information
minrk committed Nov 10, 2011
1 parent 4d707b8 commit 49af183
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion IPython/nbformat/v2/nbjson.py
Expand Up @@ -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))
Expand Down

0 comments on commit 49af183

Please sign in to comment.