Merge "Do not dump the --config argument." am: a4648dfcba am: 8756774265
Original change: https://android-review.googlesource.com/c/platform/development/+/1798415 Change-Id: Ia201420cf133ca42c42dfc2dc65c364ed49f2cb2
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user