Browse Source

configure: don't use "with" for Python 2.5 and older

v0.9.1-release
Nathan Rajlich 13 years ago
parent
commit
fdeeabba78
  1. 4
      configure

4
configure

@ -342,8 +342,8 @@ pprint.pprint(output, indent=2)
def write(filename, data):
filename = os.path.join(root_dir, filename)
print "creating ", filename
with open(filename, 'w+') as f:
f.write(data)
f = open(filename, 'w+')
f.write(data)
write('config.gypi', "# Do not edit. Generated by the configure script.\n" +
pprint.pformat(output, indent=2))

Loading…
Cancel
Save