diff options
author | Mike Lockwood <lockwood@android.com> | 2011-06-08 19:06:43 -0700 |
---|---|---|
committer | Mike Lockwood <lockwood@android.com> | 2011-06-08 19:06:43 -0700 |
commit | 5b65ee497492c278ee8bd9a92a846363e81a155b (patch) | |
tree | 7df101ba77e9a79e762e9ff32df21f324201d592 /tools/post_process_props.py | |
parent | 569e4fab496588ce5b4913424540c8477afba318 (diff) | |
download | build-5b65ee497492c278ee8bd9a92a846363e81a155b.zip build-5b65ee497492c278ee8bd9a92a846363e81a155b.tar.gz build-5b65ee497492c278ee8bd9a92a846363e81a155b.tar.bz2 |
post_process_props: Write mangled properties back to file instead of stdout
Change-Id: I78b642400c46019165f12d409a238344ca6e09dd
Signed-off-by: Mike Lockwood <lockwood@android.com>
Diffstat (limited to 'tools/post_process_props.py')
-rwxr-xr-x | tools/post_process_props.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tools/post_process_props.py b/tools/post_process_props.py index 83e1431..01f9128 100755 --- 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__": |