Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-Authored-By: Sébastien Eustace <[email protected]>
  • Loading branch information
JJJollyjim and sdispater authored Jan 9, 2020
1 parent e2d2268 commit 3a0e158
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion poetry/spdx/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def license_by_id(identifier):
# MIT/WTFPL/Unlicense are excluded as their ids are simply their name - if someone types "mit", they've already found the license they were looking for

common_strings = ["agpl", "lgpl", "gpl", "bsd", "apache", "mpl", "cc0"]
for str in common_strings:
for string in common_strings:
if str in id:

err += "\n"
Expand Down

0 comments on commit 3a0e158

Please sign in to comment.