gyp: switch json for pprint when generating config

v0.7.4-release
jbergstroem 2011-12-18 23:53:07 +01:00 committed by Ben Noordhuis
parent f9994114ab
commit 45605c9b39
1 changed files with 2 additions and 3 deletions

5
configure vendored
View File

@ -2,13 +2,12 @@
import optparse
import os
import json
import pprint
import subprocess
import sys
root_dir = os.path.dirname(__file__)
sys.path.insert(0, os.path.join(root_dir, 'deps', 'v8', 'tools'))
import utils # GuessArchitecture
# parse our options
parser = optparse.OptionParser()
@ -262,7 +261,7 @@ print "creating ", fn
f = open(fn, 'w+')
f.write("# Do not edit. Generated by the configure script.\n")
json.dump(output, f, indent=2, skipkeys=True)
pprint.pprint(output, stream=f, indent=2)
f.write("\n")
f.close()