Skip to content

Commit b4d0744

Browse files
committed
Update license family classification for disclose-source condition
Signed-off-by: JASON GRIESHABER <jason.grieshaber@mercedes-benz.com>
1 parent 8f44029 commit b4d0744

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

infra/tools/choosealicense/import.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env python3
2-
# SPDX-FileCopyrightText: 2025 Mercedes-Benz Group AG and Mercedes-Benz AG
2+
# SPDX-FileCopyrightText: 2026 Mercedes-Benz Group AG and Mercedes-Benz AG
33
#
44
# SPDX-License-Identifier: Apache-2.0
55

@@ -131,7 +131,7 @@ def family_from_conditions(conditions):
131131
return "network copyleft"
132132
if "same-license" in conditions:
133133
return "strong copyleft"
134-
if any(tag in conditions for tag in ["same-license--file", "same-license--library", "disclose-source"]):
134+
if any(tag in conditions for tag in ["same-license--file", "same-license--library"]):
135135
return "weak copyleft"
136136
return "permissive"
137137

0 commit comments

Comments
 (0)