Skip to content

Commit

Permalink
Update src/packaging/licenses/__init__.py
Browse files Browse the repository at this point in the history
Co-authored-by: Brett Cannon <brett@python.org>
  • Loading branch information
ewdurbin and brettcannon authored Sep 13, 2024
1 parent 2150d44 commit 1f00fac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/packaging/licenses/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def normalize_license_expression(raw_license_expression: str) -> str | None:
message = f"invalid license expression: {raw_license_expression}"
raise ValueError(message) from None

# Take a final pass to check for unknown licenses/exceptions
# Take a final pass to check for unknown licenses/exceptions.
normalized_tokens = []
for token in tokens:
if token in {"or", "and", "with", "(", ")"}:
Expand Down

0 comments on commit 1f00fac

Please sign in to comment.