Skip to content

Commit

Permalink
Fix detection for AGPL-1.0 variants (#22)
Browse files Browse the repository at this point in the history
The identifier 'AGPL-1.0' was deprecated in the 3.1 release of the SPDX
License List; this commit fixes the detection code to associate
'AGPLv1.0' to both the AGPL-1.0-only and AGPL-1.0-or-later identifiers.

Signed-off-by: Sebastian Crane <[email protected]>
  • Loading branch information
seabass-labrax authored Feb 16, 2022
1 parent 145522e commit acd8abb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pull.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
}

IDENTIFIERS = {
'AGPLv1.0': {'spdx': ['AGPL-1.0']},
'AGPLv1.0': {'spdx': ['AGPL-1.0-or-later', 'AGPL-1.0-only', 'AGPL-1.0']},
'AGPLv3.0': {'spdx': ['AGPL-3.0-or-later', 'AGPL-3.0-only', 'AGPL-3.0']},
'AcademicFreeLicense1.1': {'spdx': ['AFL-1.1']},
'AcademicFreeLicense1.2': {'spdx': ['AFL-1.2']},
Expand Down

0 comments on commit acd8abb

Please sign in to comment.