diff options
author | Jon Turney <jon.turney@dronecode.org.uk> | 2022-10-11 16:31:46 +0300 |
---|---|---|
committer | Jon Turney <jon.turney@dronecode.org.uk> | 2022-10-11 16:31:46 +0300 |
commit | 077992f51cd105612f72fd2eabc156a7733af055 (patch) | |
tree | a12148d8acee889a49356f66c4a00626e8247b24 | |
parent | 885fd8aaff0107a28d3095cc98ef0ce15d9da806 (diff) |
Turn 'Unknown license key(s)' error into a warning
-rwxr-xr-x | calm/hint.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/calm/hint.py b/calm/hint.py index b151317..ead719e 100755 --- a/calm/hint.py +++ b/calm/hint.py @@ -304,7 +304,7 @@ def hint_file_parse(fn, kind, strict=False): errors.append('errors validating license expression: %s' % (e)) else: if not le.normalized_expression: - errors.append('errors in license expression: %s' % (le.errors)) + warnings.append('errors in license expression: %s' % (le.errors)) elif le.original_expression != le.normalized_expression: errors.append("license expression: '%s' normalizes to '%s'" % (value, le.normalized_expression)) |