Skip to content
This repository was archived by the owner on Oct 7, 2022. It is now read-only.

detect MPL-2.0 as license #155

Merged
merged 1 commit into from
Oct 24, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/pypi2nix/stage2.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ def find_license(item):
elif license in ['GNU Lesser General Public License (LGPL), Version 3',
'LGPL']:
license = "licenses.lgpl3"
elif license in ['MPL 2.0', 'MPL 2.0 (Mozilla Public License)']:
elif license in ['MPL 2.0', 'MPL 2.0 (Mozilla Public License)', 'MPL-2.0']:
license = "licenses.mpl20"
elif license in ['Python Software Foundation License']:
license = "licenses.psfl"
Expand Down