You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by se...@apache.org on 2022/05/25 10:32:47 UTC

[whimsy] branch master updated: Loosen some checks

This is an automated email from the ASF dual-hosted git repository.

sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git


The following commit(s) were added to refs/heads/master by this push:
     new 58690d3f Loosen some checks
58690d3f is described below

commit 58690d3f49739cfbbeb39e4c5eb6f5018d638fea
Author: Sebb <se...@apache.org>
AuthorDate: Wed May 25 11:32:40 2022 +0100

    Loosen some checks
---
 tools/download_check.rb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/download_check.rb b/tools/download_check.rb
index 1dfa516d..5c8cc4c6 100755
--- a/tools/download_check.rb
+++ b/tools/download_check.rb
@@ -457,7 +457,7 @@ def _checkDownloadPage(path, tlp, version)
   if keys.size >= 1
     keyurl = keys.first.first
     keytext = keys.first[1]
-    if keytext.strip == 'KEYS'
+    if keytext.include? 'KEYS'
       I 'Found KEYS link'
     else
       W "Found KEYS: '#{keytext}'"
@@ -715,7 +715,7 @@ def _checkDownloadPage(path, tlp, version)
           if ct and cl
             I "OK: #{ct} #{cl} #{path}"
           elsif cl
-            W "NAK: ct='#{ct}' cl='#{cl}' #{path}"
+            I "NAK: ct='#{ct}' cl='#{cl}' #{path}"
           else
             E "NAK: ct='#{ct}' cl='#{cl}' #{path}"
           end