Merge "Do not dump the --config argument." am: a4648dfcba am: 8756774265 am: f37fb782d0 am: e9ea77e619

Original change: https://android-review.googlesource.com/c/platform/development/+/1798415

Change-Id: I48d3f4eed17b6f5a2a3ef9130e96056ae78895a1
This commit is contained in:
Joel Galenson
2021-08-18 15:55:36 +00:00
committed by Automerger Merge Worker

View File

@@ -1797,8 +1797,8 @@ def dump_config(parser, args):
# Also filter certain "temporary" arguments.
non_default_args = {}
for arg in args_dict:
if args_dict[arg] != parser.get_default(
arg) and arg != 'dump_config_and_exit' and arg != 'no_test_mapping':
if (args_dict[arg] != parser.get_default(arg) and arg != 'dump_config_and_exit'
and arg != 'no_test_mapping' and arg != 'config'):
non_default_args[arg.replace('_', '-')] = args_dict[arg]
# Write to the specified file.
with open(args.dump_config_and_exit, 'w') as f: