whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject [whimsy] branch master updated: Detect KEYS by URL
Date Tue, 08 Dec 2020 13:18:23 GMT
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 44db254  Detect KEYS by URL
44db254 is described below

commit 44db25412626e1e9b3ea179ad5a2fbca8943627f
Author: Sebb <sebb@apache.org>
AuthorDate: Tue Dec 8 13:18:12 2020 +0000

    Detect KEYS by URL
---
 tools/download_check.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/download_check.rb b/tools/download_check.rb
index 72d503a..985b350 100755
--- a/tools/download_check.rb
+++ b/tools/download_check.rb
@@ -387,7 +387,7 @@ def _checkDownloadPage(path, tlp, version)
     end
     check_head(keyurl,:E, "200", false, true)
   else
-    keys = links.select{|_h, v| v.strip == 'KEYS' || v == 'KEYS file' || v == '[KEYS]'}
+    keys = links.select{|h, v| h.end_with? 'KEYS' || v.strip == 'KEYS' || v == 'KEYS file'
|| v == '[KEYS]'}
     if keys.size >= 1
       I 'Found KEYS link'
       keyurl = keys.first.first


Mime
View raw message