OSDN Git Service
(root)
/
android-x86
/
build.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
569e4fa
)
post_process_props: Write mangled properties back to file instead of stdout
author
Mike Lockwood
<lockwood@android.com>
Thu, 9 Jun 2011 02:06:43 +0000
(19:06 -0700)
committer
Mike Lockwood
<lockwood@android.com>
Thu, 9 Jun 2011 02:06:43 +0000
(19:06 -0700)
Change-Id: I78b642400c46019165f12d409a238344ca6e09dd
Signed-off-by: Mike Lockwood <lockwood@android.com>
tools/post_process_props.py
patch
|
blob
|
history
diff --git
a/tools/post_process_props.py
b/tools/post_process_props.py
index
83e1431
..
01f9128
100755
(executable)
--- a/
tools/post_process_props.py
+++ b/
tools/post_process_props.py
@@
-74,9
+74,8
@@
def main(argv):
sys.stderr.write("bad command line: " + str(argv) + "\n")
sys.exit(1)
- f = open(filename)
- #properties.write(f)
- properties.write(sys.stdout)
+ f = open(filename, 'w+')
+ properties.write(f)
f.close()
if __name__ == "__main__":