diff options
author | 2024-02-05 19:37:05 +0000 | |
---|---|---|
committer | 2024-02-05 19:37:05 +0000 | |
commit | 75dd41b57666ec2ad0179e9416ab2e8005627c86 (patch) | |
tree | 3a47dac1e5df56dda16081ca6435dbe24e974b4b /scripts/lint_project_xml.py | |
parent | ada543ed86dc4828cecdb937844c6468c872d3e3 (diff) |
Revert "Print the modules that had strict_updatability_linting set"
This reverts commit ada543ed86dc4828cecdb937844c6468c872d3e3.
Reason for revert: b/323773738
Change-Id: Iaddd35b275392c8d0eb7ce1cc65523467462d7b3
Diffstat (limited to 'scripts/lint_project_xml.py')
-rwxr-xr-x | scripts/lint_project_xml.py | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/scripts/lint_project_xml.py b/scripts/lint_project_xml.py index cdc968aa9..c40b07d38 100755 --- a/scripts/lint_project_xml.py +++ b/scripts/lint_project_xml.py @@ -77,8 +77,6 @@ def parse_args(): help='file containing merged manifest for the module and its dependencies.') parser.add_argument('--baseline', dest='baseline_path', help='file containing baseline lint issues.') - parser.add_argument('--strict_updatability_parents', - help='reverse dependencies that set strict_updatability_linting: true, for use in error messages') parser.add_argument('--library', dest='library', action='store_true', help='mark the module as a library.') parser.add_argument('--test', dest='test', action='store_true', @@ -163,10 +161,8 @@ def main(): baseline = minidom.parse(args.baseline_path) disallowed_issues = check_baseline_for_disallowed_issues(baseline, args.disallowed_issues) if disallowed_issues: - error_message = f'disallowed issues {disallowed_issues} found in lint baseline file {args.baseline_path} for module {args.name}' - if args.strict_updatability_parents: - error_message += f'. The parent modules that set strict_updatability_linting are {args.strict_updatability_parent}' - sys.exit(error_message) + sys.exit('disallowed issues %s found in lint baseline file %s for module %s' + % (disallowed_issues, args.baseline_path, args.name)) if args.project_out: with open(args.project_out, 'w') as f: |