From a65ca89ad795b5b238eb78d342d539f8a2dcb2b5 Mon Sep 17 00:00:00 2001 From: Ee Durbin Date: Thu, 3 Oct 2024 19:08:11 -0400 Subject: [PATCH] nit --- src/packaging/licenses/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/packaging/licenses/__init__.py b/src/packaging/licenses/__init__.py index babcc851..a96de3a7 100644 --- a/src/packaging/licenses/__init__.py +++ b/src/packaging/licenses/__init__.py @@ -65,7 +65,7 @@ def canonicalize_license_expression( raise InvalidLicenseExpression(message) # Pad any parentheses so tokenization can be achieved by merely splitting on - # white space. + # whitespace. license_expression = raw_license_expression.replace("(", " ( ").replace(")", " ) ") licenseref_prefix = "LicenseRef-" license_refs = {