Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/cygwin-apps/calm.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'calm/hint.py')
-rwxr-xr-xcalm/hint.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/calm/hint.py b/calm/hint.py
index 6034c1d..1ec86d9 100755
--- a/calm/hint.py
+++ b/calm/hint.py
@@ -39,10 +39,10 @@ else:
extra_licenses = [
'Linux-man-pages-copyleft', # requires SPDX license-list 3.15
'Public-Domain',
- 'XVIEW',
]
for l in extra_licenses:
- json.append({"spdx_license_key": l})
+ if not any(j["spdx_license_key"] == l for j in json):
+ json.append({"spdx_license_key": l})
licensing = license_expression.build_spdx_licensing(json)
# types of key: