public inbox for cygwin-apps-cvs@sourceware.org
help / color / mirror / Atom feed
* [calm - Cygwin server-side packaging maintenance script] branch master, updated. 20220704-24-g077992f
@ 2022-10-14 16:25 Jon TURNEY
  0 siblings, 0 replies; only message in thread
From: Jon TURNEY @ 2022-10-14 16:25 UTC (permalink / raw)
  To: cygwin-apps-cvs




https://sourceware.org/git/gitweb.cgi?p=cygwin-apps/calm.git;h=077992f51cd105612f72fd2eabc156a7733af055

commit 077992f51cd105612f72fd2eabc156a7733af055
Author: Jon Turney <jon.turney@dronecode.org.uk>
Date:   Tue Oct 11 14:31:46 2022 +0100

    Turn 'Unknown license key(s)' error into a warning


Diff:
---
 calm/hint.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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))
 


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-10-14 16:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-14 16:25 [calm - Cygwin server-side packaging maintenance script] branch master, updated. 20220704-24-g077992f Jon TURNEY

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).