Merge "Do not dump the --config argument." am: a4648dfcba am: 8756774265 am: f37fb782d0 am: e9ea77e619 am: d5538f6ed0
Original change: https://android-review.googlesource.com/c/platform/development/+/1798415 Change-Id: Id3fba328dc146ce76583da1ca024a4d86f2f5ea4
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