spdx_tools.spdx3.bump_from_spdx2.message
1# SPDX-FileCopyrightText: 2023 spdx contributors 2# 3# SPDX-License-Identifier: Apache-2.0 4 5import sys 6 7MISSING_CONVERSION_REASONS = {0: "missing conversion rule", 1: "missing implementation"} 8 9 10def print_missing_conversion(field: str, reason, additional_information: str = ""): 11 print(f"{field} not converted: {MISSING_CONVERSION_REASONS[reason]} {additional_information}", file=sys.stderr)
MISSING_CONVERSION_REASONS =
{0: 'missing conversion rule', 1: 'missing implementation'}
def
print_missing_conversion(field: str, reason, additional_information: str = ''):