summaryrefslogtreecommitdiff
path: root/scripts/test_config_fixer.py
diff options
context:
space:
mode:
author Cole Faust <colefaust@google.com> 2021-11-09 15:08:26 -0800
committer Cole Faust <colefaust@google.com> 2021-11-10 13:49:27 -0800
commitc41dd72d3bea7fc60002e62ceacf36b1599bf760 (patch)
tree8cee920fb215d67d7fb91d9c2da5405b8f68ddee /scripts/test_config_fixer.py
parent76b0c499d040b953fe876897c8a908ddbd4a3cae (diff)
Convert soong scripts to python 3
Except manifest_utils, which is used by apexer. Tests run: m construct_context_test manifest_check_test manifest_fixer_test test_config_fixer_test out/host/linux-x86/testcases/construct_context_test/x86_64/construct_context_test out/host/linux-x86/testcases/manifest_check_test/x86_64/manifest_check_test out/host/linux-x86/testcases/manifest_fixer_test/x86_64/manifest_fixer_test out/host/linux-x86/testcases/test_config_fixer_test/x86_64/test_config_fixer_test Bug: 203436762 Test: Tests listed above + presubmits Change-Id: Ife75b3af1efc871a2d8521d26153a262573bb706
Diffstat (limited to 'scripts/test_config_fixer.py')
-rw-r--r--scripts/test_config_fixer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/test_config_fixer.py b/scripts/test_config_fixer.py
index 32d5b175e..c150e8cfd 100644
--- a/scripts/test_config_fixer.py
+++ b/scripts/test_config_fixer.py
@@ -86,7 +86,7 @@ def main():
if args.test_file_name:
overwrite_test_file_name(doc, args.test_file_name)
- with open(args.output, 'wb') as f:
+ with open(args.output, 'w') as f:
write_xml(f, doc)
# pylint: disable=broad-except