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 cd8150d  Allow checksums
cd8150d is described below

commit cd8150d44b8408e0e7d7ff7bea723a82a9321c87
Author: Sebb <[email protected]>
AuthorDate: Tue Oct 26 16:56:35 2021 +0100

    Allow checksums
---
 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 c8ced45..b4871b9 100755
--- a/tools/download_check.rb
+++ b/tools/download_check.rb
@@ -544,7 +544,7 @@ def _checkDownloadPage(path, tlp, version)
       tmp = text2ext(t)
       next if ext == tmp # i.e. link is just the type or [TYPE]
       next if ext == 'sha' and tmp == 'sha1' # historic
-      next if %w(sha256 md5 mds sha512 sha1).include?(ext) and %w(SHA digest 
Digest).include?(t) # generic
+      next if %w(sha256 md5 mds sha512 sha1).include?(ext) and %w(SHA digest 
Digest checksums).include?(t) # generic
       next if ext == 'mds' and (tmp == 'hashes' or t == 'Digests')
       if base != t
         if t == 'Download' # MXNet

Reply via email to