From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2201) id 5DA5C3858C83; Fri, 14 Oct 2022 16:25:07 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5DA5C3858C83 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1665764707; bh=MEtPkYduPZDzPqkTceyKJ+3Y9UQ3KpHFjc+pu4VG8wk=; h=To:Subject:Date:From:From; b=Z1MKmeT1Hx5pQUhmiFOhsbRauDfo0I4P95Cg4CL55C1HyjEKgRoygHNHx2WMgHrup uRn3kbunJ539awJE6ATRnp/sB5lVojbj8iT/lz99IW6BYDg+1IY0Q9PMKaz4Xw1+uT oa+vzSRIb4lnNqznJdB1uOPR97t9xIyGkP6lEiX0= To: cygwin-apps-cvs@sourceware.org Subject: [calm - Cygwin server-side packaging maintenance script] branch master, updated. 20220704-24-g077992f X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: 885fd8aaff0107a28d3095cc98ef0ce15d9da806 X-Git-Newrev: 077992f51cd105612f72fd2eabc156a7733af055 Message-Id: <20221014162507.5DA5C3858C83@sourceware.org> Date: Fri, 14 Oct 2022 16:25:07 +0000 (GMT) From: Jon TURNEY List-Id: https://sourceware.org/git/gitweb.cgi?p=cygwin-apps/calm.git;h=077992f51cd105612f72fd2eabc156a7733af055 commit 077992f51cd105612f72fd2eabc156a7733af055 Author: Jon Turney 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))