We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6267879 commit 6ac92d9Copy full SHA for 6ac92d9
1 file changed
SPDX.py
@@ -98,7 +98,7 @@ def compare(file_, line_, correct):
98
fail = True
99
failed = True
100
if not failed:
101
- license_name = line.split("SPDX-License-Identifier: ")[1][:-1]
+ license_name = line.split("SPDX-License-Identifier: ")[1].strip()
102
status["license"] = True
103
if os.path.isfile(BUILD_DIR + f"/LICENSES/{license_name}.txt"):
104
status["licensefile"] = True
0 commit comments