projects
/
platform
/
upstream
/
nodejs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e066074
)
configure: don't use "with" for Python 2.5 and older
author
Nathan Rajlich
<nathan@tootallnate.net>
Wed, 11 Apr 2012 18:16:11 +0000
(11:16 -0700)
committer
Nathan Rajlich
<nathan@tootallnate.net>
Wed, 11 Apr 2012 18:16:11 +0000
(11:16 -0700)
configure
patch
|
blob
|
history
diff --git
a/configure
b/configure
index
1a94251
..
ef34cf8
100755
(executable)
--- a/
configure
+++ b/
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))