We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9bd1477 commit 20e1729Copy full SHA for 20e1729
flit_core/flit_core/config.py
@@ -850,7 +850,7 @@ def normalise_compound_license_expr(s: str) -> str:
850
parts.append(f' {part} ')
851
elif part.lower() in {'and', 'or', 'with'}:
852
# provide a sensible error message for non-uppercase operators
853
- reason = f"operators must be uppercase, not '{s}'"
+ reason = f"operators must be uppercase, not '{part}'"
854
raise ConfigError(invalid_msg.format(s=s, reason=reason))
855
elif part == '(':
856
if parts and parts[-1] not in {' AND ', ' OR ', '('}:
0 commit comments