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 95cd017  Reduce severity of reports
95cd017 is described below

commit 95cd017f60c69009f1bf1acf0b6ab0bca0fe46dc
Author: Sebb <[email protected]>
AuthorDate: Sun Jan 12 23:07:07 2020 +0000

    Reduce severity of reports
---
 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 bc0a5c9..076b0f5 100755
--- a/tools/download_check.rb
+++ b/tools/download_check.rb
@@ -313,7 +313,7 @@ def _checkDownloadPage(path, tlp, version)
   keys = links.select{|h,v| h =~ expurlre}
   if keys.size >= 1
     keytext = keys.first[1]
-    if keytext == 'KEYS'
+    if keytext.strip == 'KEYS'
         I 'Found KEYS link'
     else
         W "Found KEYS: '#{keytext}'"
@@ -395,7 +395,7 @@ def _checkDownloadPage(path, tlp, version)
           elsif base.sub(/-bin\.|-src\./,'.').end_with? tmp
             W "Mismatch?: #{h} and '#{tmp}'"
           else
-            E "Mismatch2: #{h} and '#{tmp}'"
+            W "Mismatch2: #{h} and '#{tmp}'"
           end
         end        
     end

Reply via email to