forked from openkylin/platform_build
post_process_props: Write mangled properties back to file instead of stdout
Change-Id: I78b642400c46019165f12d409a238344ca6e09dd Signed-off-by: Mike Lockwood <lockwood@android.com>
This commit is contained in:
parent
569e4fab49
commit
5b65ee4974
|
@ -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__":
|
||||
|
|
Loading…
Reference in New Issue