diff options
author | Bob Ippolito <bob@redivi.com> | 2009-05-17 21:04:22 +0000 |
---|---|---|
committer | Bob Ippolito <bob@redivi.com> | 2009-05-17 21:04:22 +0000 |
commit | f115a9856a7e58bd82dd2d09175e2de17516c1d7 (patch) | |
tree | 9df73a22a32c38c2735b3be505cd349ce8154550 /simplejson/tool.py | |
parent | 1d34eb9fd594ba65d63ea63c27a2abb7faa57cf6 (diff) | |
download | simplejson-f115a9856a7e58bd82dd2d09175e2de17516c1d7.tar.gz |
http://code.google.com/p/simplejson/issues/detail?id=56 indent changed to string
git-svn-id: http://simplejson.googlecode.com/svn/trunk@193 a4795897-2c25-0410-b006-0d3caba88fa1
Diffstat (limited to 'simplejson/tool.py')
-rw-r--r-- | simplejson/tool.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/simplejson/tool.py b/simplejson/tool.py index b3d47ed..629dca4 100644 --- a/simplejson/tool.py +++ b/simplejson/tool.py @@ -29,7 +29,7 @@ def main(): obj = json.load(infile, object_pairs_hook=json.OrderedDict) except ValueError, e: raise SystemExit(e) - json.dump(obj, outfile, sort_keys=True, indent=4) + json.dump(obj, outfile, sort_keys=True, indent=' ') outfile.write('\n') |