remove duplicate comments

This commit is contained in:
Divyansh Singh 2023-06-08 00:08:39 +05:30
parent 8384eaefb1
commit f90d30e0e1
2 changed files with 1 additions and 3 deletions

View file

@ -99,8 +99,6 @@ def parse_subparser_arguments(unparsed_arguments, subparsers):
# allows subparsers to consume arguments before their parent subparsers do. # allows subparsers to consume arguments before their parent subparsers do.
remaining_subparser_arguments = [] remaining_subparser_arguments = []
# Now ask each subparser, one by one, to greedily consume arguments, from last to first. This
# allows subparsers to consume arguments before their parent subparsers do.
for subparser_name, subparser in reversed(subparsers.items()): for subparser_name, subparser in reversed(subparsers.items()):
if subparser_name not in arguments.keys(): if subparser_name not in arguments.keys():
continue continue

View file

@ -643,7 +643,7 @@ def collect_configuration_run_summary_logs(configs, arguments):
OSError, OSError,
json.JSONDecodeError, json.JSONDecodeError,
KeyError, KeyError,
) as error: # pragma: no cover ) as error:
yield from log_error_records('Error running bootstrap', error) yield from log_error_records('Error running bootstrap', error)
return return